// Token: 0x06000C5A RID: 3162 RVA: 0x0001FF10 File Offset: 0x0001E110 public static void Start() { DiscordRich.EventHandlers eventHandlers = default(DiscordRich.EventHandlers); new Thread(delegate() { //change le 457563383340859403 par le new rich presence DiscordRich.Initialize("457563383340859403", ref eventHandlers, false, string.Empty); for (; ;) { DiscordInfo.OnThisUpdate(); Thread.Sleep(5000); } }) { //le nom du rich je supose ? Name = "DiscordRich Thread", IsBackground = true }.Start(); }
public static extern void UpdateHandlers(ref DiscordRich.EventHandlers handlers);
public static extern void Initialize(string applicationId, ref DiscordRich.EventHandlers handlers, bool autoRegister, string optionalSteamId);