feat: bot Discord presence + system name on voice join
CI / lint (push) Failing after 35s
CI / test (push) Successful in 46s
Build edge-node / build (push) Successful in 11m13s

- RadioBot.join() accepts system_name parameter
- Sets bot activity to ActivityType.listening → system name on connect
- Clears presence (activity=None) on leave
- main.py passes system_name from MQTT payload to radio_bot.join()
This commit is contained in:
Logan
2026-05-10 19:47:22 -04:00
parent ad9d128522
commit dccbab00d6
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ async def on_command(payload: dict):
channel_id=int(payload["channel_id"]),
token=token,
call_active=metadata_watcher.is_active,
system_name=payload.get("system_name"),
)
elif action == "discord_leave":
await radio_bot.leave()