Skip to content

Commit 1f60568

Browse files
committed
potential fix for second part of slash groups example
1 parent 0ccbeee commit 1f60568

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
@@ -21,7 +21,7 @@ async def add(ctx, num1: int, num2: int):
2121
from discord.commands import SlashCommandGroup
2222

2323
math = SlashCommandGroup("math", "Commands related to mathematics.")
24-
24+
bot.add_application_command(math)
2525

2626
@math.command(guild_ids=[...])
2727
async def add(ctx, num1: int, num2: int):

0 commit comments

Comments
 (0)