updated slash cmd builder. soundboard command no longer allows multiple of the same button
This commit is contained in:
@ -372,7 +372,9 @@ pub async fn soundboard(
|
||||
.await?;
|
||||
|
||||
if let Some(sound) = search.first() {
|
||||
sounds.push(sound.clone());
|
||||
if !sounds.contains(sound) {
|
||||
sounds.push(sound.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user