【发布时间】:2022-01-25 04:34:26
【问题描述】:
所以我正在为我的机器人创建一个帮助命令,并且我有一个名为“Bot Stuff”的部分,但它需要我输入一个 _ 或 - 才能使其工作。
async def help(ctx, category=None):
if category == None:
embedVar = discord.Embed(title="Sachs Bot", description="V 0.03", color=0x690303)
embedVar.add_field(name="```Bot Stuff```", value="Does bot stuff", inline=False)
if category == 'Bot Stuff':
embedVar = discord.Embed(title="Bot Stuff", description="Bot Stuff", color=0x690303)
await ctx.send(embed=embedVar)```
【问题讨论】:
标签: python discord discord.py