Skip to content

Commit 40ce417

Browse files
authored
Updated The Sync_Commands=True
The Overide_Type is useless, id the commands won't work without the Sync Commands Aspect.
1 parent d5cba04 commit 40ce417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ from discord.ext import commands
5656
from discord_slash import SlashCommand
5757

5858
bot = commands.Bot(command_prefix="prefix")
59-
slash = SlashCommand(bot, override_type = True)
59+
slash = SlashCommand(bot, sync_commands=True, sync_on_cog_reload=True)
6060

6161
bot.load_extension("cog")
6262
bot.run("TOKEN")

0 commit comments

Comments
 (0)