Answers for "discord bot status code 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

C# Answers by Framework

Browse Popular Code Answers by Language