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