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.
2 parents 4dedcf2 + 14ec7c0 commit 1876f13Copy full SHA for 1876f13
examples/app_commands/slash_groups.py
@@ -5,7 +5,7 @@
5
# If you use commands.Bot, @bot.slash_command should be used for
6
# slash commands. You can use @bot.slash_command with discord.Bot as well
7
8
-math = bot.command_group(
+math = bot.create_group(
9
"math", "Commands related to mathematics."
10
) # create a slash command group
11
0 commit comments