diff --git a/main.py b/main.py index d1e5d40..64a3af1 100644 --- a/main.py +++ b/main.py @@ -21,12 +21,12 @@ async def on_ready(): if not change_status.is_running(): change_status.start() await rename_vc(bot) -''' + @bot.event async def on_application_command_error(ctx, error): embed = build_error_embed(f"Ein Fehler ist aufgetreten: {error}") await ctx.respond(embed=embed) -''' + try: bot.run(config['token']) except: