Answers for "how to set status discord bot c#"

C#
9

discord bot status code c#

//in commands.cs file

public class Help : ModuleBase<SocketCommandContext>
        {
            [Command("test")]
            public async Task TestAsync()
            {
                await Context.Client.SetGameAsync("Game");

                await Task.CompletedTask;
            }
        }
}
Posted by: Guest on September-15-2021
-4

how to set discord status Csharp bot

public class Help : ModuleBase<SocketCommandContext>
{
    [Command("test")]
    public async Task TestAsync()
    {
        await Context.Client.SetGameAsync("eating doritos");

        await Task.CompletedTask;
    }
}
Posted by: Guest on June-17-2021

Code answers related to "how to set status discord bot c#"

C# Answers by Framework

Browse Popular Code Answers by Language