We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f6563 commit c9fc04cCopy full SHA for c9fc04c
examples/app_commands/slash_basic.py
@@ -14,8 +14,9 @@
14
async def hello(ctx):
15
"""Say hello to the bot""" # the command description can be supplied as the docstring
16
await ctx.respond(f"Hello {ctx.author}!")
17
- # Please note that you MUST use ctx.respond(), ctx.defer(), or any other interaction response
18
- # in your slash command code, otherwise the interaction will fail.
+ # Please note that you MUST respond with ctx.respond(), ctx.defer(), or any other
+ # interaction response within 3 seconds in your slash command code, otherwise the
19
+ # interaction will fail.
20
21
22
@bot.slash_command(
0 commit comments