transitous rewrite: split /info embed if more than 1024 characters

This commit is contained in:
Kaaninchen
2026-08-16 18:05:31 +02:00
parent cdceeb4e44
commit ca3f93f4cd
3 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ def get_operator_metadata(agency: str, route_color: str) -> dict:
except ValueError:
color = operators.OPERATORS["fallback"]["color"]
else:
logger(f"Managed to get color from API, edit src/data/operators.py if you don't like it")
logger(f"Managed to get color from API, add agency to src/data/operators.py if you don't like it")
else:
color = operators.OPERATORS["fallback"]["color"]
return {