示例#1
0
 static public void Initialize()
 {
     // 604680029439393812 <- Adri's AppID, in case we go back to that one.
     // 649491503391047701 <- FRUP's AppID, currently being used.
     DiscordManager.CreateClient("649491503391047701", Wobble.Discord.RPC.Logging.LogLevel.None);
     Presence            = new RichPresence();
     Presence.Assets     = new Assets();
     Presence.Timestamps = new Timestamps();
 }
示例#2
0
        /// <summary>
        /// </summary>
        public TestDiscordScreen()
        {
            DiscordManager.CreateClient("473243746922659842", LogLevel.None);
            DiscordManager.Client.SetPresence(new RichPresence()
            {
                Details = "TestDiscordScreen",
                State   = "Testing"
            });

            View = new TestDiscordScreenView(this);
        }