【发布时间】:2020-11-23 09:44:13
【问题描述】:
我想知道如何在我的命令类中做这样的事情:
public string yuh;
[Command("test")]
public async Task test(params string[] args)
{
if (args.Length == 0)
{
await ReplyAsync("Tell me something.");
***WAIT FOR A USER INPUT***
yuh = Context.Message.Content;
}
await ReplyAsync(yuh);
}
我在 WAIT FOR A USER INPUT 中输入了什么?
【问题讨论】:
标签: discord discord.net