【发布时间】:2020-06-02 04:09:09
【问题描述】:
所以我用不同的帮助菜单制作了一个帮助命令。就像 mee6 一样。但我想添加一条消息,因为没有给出任何参数。怎么做?这是我现在拥有的:
@bot.command(name='help')
async def help(ctx, *, content):
if content == ('Moderation'):
await ctx.send(moderationmenu)
if content == ('fun'):
await ctx.send(funmenu)
if content == None:
await ctx.send('please provide an argument (Moderation / fun)')
【问题讨论】: