From d50cf0277be5e52f31b107f89e1e45558ecf1015 Mon Sep 17 00:00:00 2001 From: Kaaninchen <124433727+kaaninchen@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:51:41 +0200 Subject: [PATCH] readme --- README.md | 2 ++ src/utils.py | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b72965b..fc6239f 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,8 @@ The bot can join the voice chat, play an audio file, and disconnect from the voi Place the audio file of your desired station in [src/data/announcements](src/data/announcements/) with the EXACT name of the station. The bot will automatically check if an audio file with the stations name exists, and if it does, play it. +You don't have to restart the bot after placing new audio files in the folder. + #### `map:` The bot can generate a map of your route in the `/info` embed. Set `map` to `true` to enable. diff --git a/src/utils.py b/src/utils.py index 6defa04..6940cfc 100644 --- a/src/utils.py +++ b/src/utils.py @@ -218,11 +218,6 @@ def generate_static_map(stops: dict, mode: str, operator: str, route_color: str) context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_OSM) - # It is against the law (and against your morals...) to not give - # the tileprovider attributions for their great work - # I only removed the attribution text because I really dislike the - # ugly white box that py-staticmaps adds. Credits are still visible in the - # embeds footer stop_coords = [ staticmaps.create_latlng(