我正在尝试创建一个需要输入的命令。到目前为止,这是我的代码:
@bot.command()
async def eat(ctx)
await ctx.channel.send("What would you like to eat? Apple, Cake, or Cookie?")
我需要在这里输入,以便我可以完成其余的工作...但这是其余的:
if eat=apple:
print("You ate an apple!")
elif eat=cake:
print("You ate Cake!")
elif eat=cookie:
print("You ate a Cookie!")
else:
print("Sorry I don't know that food in there. Please try again")
繁华开满天机
呼唤远方
相关分类