This commit is contained in:
Kaaninchen
2026-08-28 15:51:41 +02:00
parent dde0c443de
commit d50cf0277b
2 changed files with 2 additions and 5 deletions
+2
View File
@@ -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.
-5
View File
@@ -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(