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:
Aaron Riedel 2022-04-16 03:14:07 +00:00
commit 9ee858be01

View file

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