using Discord;using System;namespace KeyAuth{ public class DiscordPresence { private Discord.Discord _discord; private Activity _activity; public DiscordPresence() { _discord = new Discord.Discord(YourApplicationId, (UInt64)CreateFlags.Default); _activity = new Activity { State = "Using KeyAuth", Details = "Logging in", Timestamps = new Timestamps { Start = DateTimeOffset.UtcNow.ToUnixTimeSeconds() }, Assets = new Assets { LargeImage = "large_image_key", // Replace with your large image key LargeText = "KeyAuth App", } }; UpdatePresence(); } public void UpdatePresence() { _discord.ActivityManager.UpdateActivity(ref _activity, null); } public void Dispose() { _discord.Dispose(); } public void RunCallbacks() { _discord.RunCallbacks(); } }}