fix clear_commands

This commit is contained in:
Aaron Riedel 2022-05-19 02:29:09 +02:00
parent f7cc76d280
commit 3f78080118
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -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)