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.
1 parent d5cba04 commit 40ce417Copy full SHA for 40ce417
README.md
@@ -56,7 +56,7 @@ from discord.ext import commands
56
from discord_slash import SlashCommand
57
58
bot = commands.Bot(command_prefix="prefix")
59
-slash = SlashCommand(bot, override_type = True)
+slash = SlashCommand(bot, sync_commands=True, sync_on_cog_reload=True)
60
61
bot.load_extension("cog")
62
bot.run("TOKEN")
0 commit comments