WIP: implement-discord-module #4

Draft
logan wants to merge 7 commits from implement-discord-module into main
Showing only changes of commit 2ec684f066 - Show all commits

View File

@@ -153,6 +153,6 @@ def get_current_system_from_config() -> str:
if not data:
return None
try:
return data.get("trunking", {}).get("sysname", "Unknown System")
return data.get("trunking", {}).get("chans", [{}])[0].get("sysname", "Unknown System")
except:
return "Unknown System"