Warne den Nutzer bei unbekannten Anbietern

This commit is contained in:
Kaaninchen
2026-07-17 17:55:55 +02:00
parent bcd8d3a507
commit e487edf729
4 changed files with 10 additions and 6 deletions
-2
View File
@@ -7,7 +7,6 @@ from src.commands import setup_commands
from src.embeds import build_error_embed
from src.data.status import discord_status
bot = discord.Bot(intents=discord.Intents.all())
setup_commands(bot)
@@ -28,7 +27,6 @@ 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: