mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-09-17 16:52:47 +00:00
fix: shorten channel name if it's too long for discords limit
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ def build_info_embed() -> discord.Embed:
|
||||
arrival = format_timestamp_to_dc(trip["arrival"])
|
||||
|
||||
embed = discord.Embed(
|
||||
title = trip["long_name"],
|
||||
title = trip["channel_name"],
|
||||
description=lang_embed.info.description(),
|
||||
color = metadata["color"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user