Skip to content

Commit 1876f13

Browse files
authored
Merge pull request #576 from krittick/master
fix for slash groups example
2 parents 4dedcf2 + 14ec7c0 commit 1876f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/app_commands/slash_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# If you use commands.Bot, @bot.slash_command should be used for
66
# slash commands. You can use @bot.slash_command with discord.Bot as well
77

8-
math = bot.command_group(
8+
math = bot.create_group(
99
"math", "Commands related to mathematics."
1010
) # create a slash command group
1111

0 commit comments

Comments
 (0)