Remove channel ID req from leave channel as it's not used
Some checks failed
Lint / lint (push) Waiting to run
release-tag / release-image (push) Has been cancelled

This commit is contained in:
Logan Cusano
2025-05-02 21:57:28 -04:00
parent 5191433e5d
commit c31984e2d8
2 changed files with 5 additions and 2 deletions

View File

@@ -6,10 +6,13 @@ from enum import Enum
class BotConfig(BaseModel):
token: str
class VoiceChannelRequest(BaseModel):
class VoiceChannelJoinRequest(BaseModel):
guild_id: int
channel_id: int
class VoiceChannelLeaveRequest(BaseModel):
guild_id: int
class DecodeMode(str, Enum):
P25 = "P25"
DMR = "DMR"

View File

@@ -1,5 +1,5 @@
from fastapi import APIRouter, HTTPException
from models import BotConfig, VoiceChannelRequest
from models import BotConfig, VoiceChannelJoinRequest, VoiceChannelLeaveRequest
from internal.bot_manager import DiscordBotManager
from internal.logger import create_logger