diff --git a/app/client.py b/app/client.py index c21e7aa..6ea75f6 100644 --- a/app/client.py +++ b/app/client.py @@ -30,14 +30,15 @@ drb_api = DRBCDBAPI(CLIENT_API_URL) srv_api = RadioAPIClient(SERVER_API_URL) # --- Define the client status object --- -class StatusValues(str, Enum): +class DiscordStatusValues(str, Enum): + INVOICE = "in_voice" # The discord client is in at least one voice channel ONLINE = "online" # The discord client is online OFFLINE = "offline" # The discord client is offline -class DiscordStatusValues(StatusValues): - INVOICE = "in_voice" # The discord client is in at least one voice channel -class OP25StatusValues(StatusValues): +class OP25StatusValues(str, Enum): LISTENING = "listening" # OP25 is online and listening + ONLINE = "online" # OP25 is online + OFFLINE = "offline" # OP25 is offline client_status = {