feat: check if the leave command was invoked by the bot owner before leaving

This commit is contained in:
2026-04-08 23:30:26 -04:00
parent d2511f7a55
commit 7d3a309d2b
4 changed files with 76 additions and 31 deletions

View File

@@ -201,6 +201,7 @@ async fn main() -> Result<(), MainError> {
let state = State {
cancellation_token: cancellation_token.clone(),
discord_application_id,
discord_bot_owner_user_id: bot_owner,
discord_client,
discord_user_id,
songbird,