Skip to content

Commit 69f6563

Browse files
authored
Clarify wording
1 parent 7211b29 commit 69f6563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/app_commands/slash_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
async def hello(ctx):
1515
"""Say hello to the bot""" # the command description can be supplied as the docstring
1616
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.
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.
1919

2020

2121
@bot.slash_command(

0 commit comments

Comments
 (0)