Fix enum bug

This commit is contained in:
Logan Cusano
2025-05-25 21:43:00 -04:00
parent fd812253fe
commit c098e429a0

View File

@@ -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 = {