fix clear_commands
This commit is contained in:
parent
f7cc76d280
commit
3f78080118
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ bot = commands.Bot(intents=intents, command_prefix=prefix)
|
||||||
async def on_connect():
|
async def on_connect():
|
||||||
print("Bot ready on Version %s..." % discord.__version__)
|
print("Bot ready on Version %s..." % discord.__version__)
|
||||||
await bot.sync_commands(commands=[], guild_ids=[261575556708040705])
|
await bot.sync_commands(commands=[], guild_ids=[261575556708040705])
|
||||||
|
await bot.register_commands(commands=[], guild_id=261575556708040705)
|
||||||
|
await bot.close()
|
||||||
os._exit(0)
|
os._exit(0)
|
||||||
|
|
||||||
bot.run(token)
|
bot.run(token)
|
Loading…
Reference in a new issue