auto register and delete slash commands + other automated stuff
@@ -65,7 +65,14 @@ bot = commands.AutoShardedBot( # setup bot
shard_count=20,
)
-bot.slashbot = SlashCommand(bot, override_type=True)
+bot.slashbot = SlashCommand(
+ bot,
+ override_type=True,
+ sync_commands=True,
+ auto_delete=True,
+ sync_on_cog_reload=True,
+ delete_from_unused_guilds=True,
+)
bot.logger = logger
