useless sync on reload removed bc we never unload cogs

This commit is contained in:
Mylloon 2021-05-29 12:50:55 +02:00
parent 673377404e
commit 9eeb286ff6

View file

@ -10,7 +10,7 @@ customPrefix = os.environ['PREFIX']
customTimezone = os.environ['TIMEZONE']
client = commands.Bot(command_prefix = customPrefix, case_insensitive = True, intents = discord.Intents.all())
slash = SlashCommand(client, sync_commands = True, sync_on_cog_reload = True)
slash = SlashCommand(client, sync_commands = True)
client.load_extension("cogs.help")
client.load_extension("cogs.utils")