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(