hot fixed all the bugs introduced

This commit is contained in:
2023-06-09 16:59:27 +02:00
parent 489792a264
commit e2d49cf1f3
5 changed files with 14 additions and 6 deletions
+4
View File
@@ -29,6 +29,10 @@ async def sync(ctx):
print(f'You synced {str(len(synced))} commands')
else:
await ctx.send("```You must be the botowner to use this command!```")
@client.tree.error
async def on_app_command_error(interaction, error):
print(f"{error}")
async def main():
async with client: