From 7e4c0ee14a2807d0b609f5d2fb2691e766047bc3 Mon Sep 17 00:00:00 2001 From: Kaaninchen <124433727+kaaninchen@users.noreply.github.com> Date: Mon, 20 Jul 2026 22:11:07 +0200 Subject: [PATCH] update status --- main.py | 4 ++-- src/data/status.py | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index b24ce22..64a3af1 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ setup_commands(bot) @tasks.loop(minutes=5) async def change_status(): status = random.choice(discord_status) - await bot.change_presence(activity=discord.Game(name=status)) + await bot.change_presence(activity=discord.Game(name=f"{status} • /info")) @bot.event async def on_ready(): @@ -30,4 +30,4 @@ async def on_application_command_error(ctx, error): try: bot.run(config['token']) except: - print("An error occured while parsing the token (check the config!)", "fatal") \ No newline at end of file + print("Fehler beim parsen des token", "fatal") \ No newline at end of file diff --git a/src/data/status.py b/src/data/status.py index 3e3d0d6..375fc40 100644 --- a/src/data/status.py +++ b/src/data/status.py @@ -5,7 +5,12 @@ discord_status = [ "Störung an der Weiche", "Heute ohne Bordbistro", "SEV ist eingerichtet", - "BahnBonus Status", "Gleiswechsel!", - "Zug entgleist :(" + "Zug entgleist :(", + "Die Bundespolizei ist informiert", + "Dieser Zug endet hier", + "Außerplanmäßiger Halt in Oberhausen Hbf", + "Verspätung aus vorheriger Fahrt", + "Der Zug hat keine Bremsen", + "Heute ohne Klimatisierung", ] \ No newline at end of file