Fix clear_commands for current py-cord version
This commit is contained in:
parent
2b2ddf6cbd
commit
3962d97829
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ bot = commands.Bot(intents=intents, command_prefix=prefix)
|
|||
@bot.event
|
||||
async def on_connect():
|
||||
print("Bot ready on Version %s..." % discord.__version__)
|
||||
await bot.sync_commands(unregister_guilds=[261575556708040705])
|
||||
await bot.sync_commands(commands=[], check_guilds=[261575556708040705])
|
||||
print("Press Ctl+c to exit now")
|
||||
|
||||
bot.run(token)
|
Loading…
Reference in a new issue