diff --git a/clear_commands.py b/clear_commands.py index 5bb7e59..f65dc72 100644 --- a/clear_commands.py +++ b/clear_commands.py @@ -24,6 +24,8 @@ bot = commands.Bot(intents=intents, command_prefix=prefix) async def on_connect(): print("Bot ready on Version %s..." % discord.__version__) await bot.sync_commands(commands=[], guild_ids=[261575556708040705]) + await bot.register_commands(commands=[], guild_id=261575556708040705) + await bot.close() os._exit(0) bot.run(token) \ No newline at end of file