feat: check if the leave command was invoked by the bot owner before leaving
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user