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 7211b29 commit 69f6563Copy full SHA for 69f6563
examples/app_commands/slash_basic.py
@@ -14,8 +14,8 @@
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 either use ctx.respond() or ctx.defer() in your
18
- # slash command code, otherwise the interaction will fail.
+ # Please note that you MUST use ctx.respond(), ctx.defer(), or any other interaction response
+ # in your slash command code, otherwise the interaction will fail.
19
20
21
@bot.slash_command(
0 commit comments