【发布时间】:2021-11-12 12:55:45
【问题描述】:
async def _ping(ctx): # Defines a new "context" (ctx) command called "ping."
async def command_hi(ctx):
await ctx.defer()
await ctx.send("Pong!")
pass
我正在制作斜杠命令,第一次它工作但第二次,它不起作用。 我试过 await ctx.defer() 但它也不起作用
【问题讨论】:
-
你能告诉我们更多信息吗?请提供更多代码!
标签: discord discord.py