Skip to content

Commit 1429bb2

Browse files
authored
Merge pull request #165 from NeilShah2026/patch-1
Updated The Sync_Commands=True
2 parents ee983e6 + 40ce417 commit 1429bb2

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
@@ -55,7 +55,7 @@ from discord.ext import commands
5555
from discord_slash import SlashCommand
5656

5757
bot = commands.Bot(command_prefix="prefix")
58-
slash = SlashCommand(bot, override_type = True)
58+
slash = SlashCommand(bot, sync_commands=True, sync_on_cog_reload=True)
5959

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

0 commit comments

Comments
 (0)