📜  discord bot状态码 c# Code Example

📅  最后修改于: 2022-03-11 14:48:54.791000             🧑  作者: Mango

代码示例1
//in commands.cs file

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

                await Task.CompletedTask;
            }
        }
}