transitous rewrite: add IDs

This commit is contained in:
Kaaninchen
2026-08-18 14:14:10 +02:00
parent a6342ca039
commit 729f350924
7 changed files with 39 additions and 7 deletions
+1 -2
View File
@@ -130,7 +130,7 @@ async def _update_next_loop(bot: discord.Bot, voice_channel: discord.VoiceChanne
'''
now = datetime.now(LOCAL_TZ)
departure_dt = trip["departure_dt"]
if departure_dt > now:
wait_seconds = (departure_dt - now).total_seconds()
await asyncio.sleep(wait_seconds)
@@ -143,7 +143,6 @@ async def _update_next_loop(bot: discord.Bot, voice_channel: discord.VoiceChanne
return
next_stop_str = next_stop["name"]
print(next_stop_str)
status_text = f"{lang.embeds.info.next_stop()}: {next_stop_str}"
await voice_channel.set_status(status_text, reason="Next stop status")