chore: switch to ids for parameter

This commit is contained in:
Zomatree
2025-02-02 13:46:45 +00:00
parent 742eb3bb7d
commit 2593a4272b
8 changed files with 26 additions and 17 deletions

View File

@@ -48,7 +48,7 @@ pub async fn remove_member(
};
if is_in_voice_channel(&user.id, channel.id()).await? {
voice_client.remove_user(&user, channel.id()).await?;
voice_client.remove_user(&user.id, channel.id()).await?;
delete_voice_state(channel.id(), None, &user.id).await?;
};