Merge branch 'dev' into 'master'
Fix clear_commands for current py-cord version See merge request aaron-riedel/shbot!18
This commit is contained in:
commit
9ee858be01
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