mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add a single ;
This commit is contained in:
@@ -32,7 +32,7 @@ class SoundBoardCommand extends commando.Command {
|
||||
} else if(soundToPlay === 'list') {
|
||||
message.channel.send("**Available Sounds:** Cat, Pikachu, Vader, Doh, It's a Trap, Mario Death, Pokemon Center, Dun Dun Dun, Spongebob, Ugly Barnacle, Woo Hoo, Space, GLaDOS Bird, Airhorn, Zelda Chest");
|
||||
} else if(soundToPlay === sounds.avaliable[soundToPlay]) {
|
||||
let alreadyConnected = this.client.voiceConnections.get(voiceChannel.guild.id)
|
||||
let alreadyConnected = this.client.voiceConnections.get(voiceChannel.guild.id);
|
||||
if(alreadyConnected) {
|
||||
if(alreadyConnected.channel.id === voiceChannel.id) {
|
||||
message.channel.send(':x: Error! I am already playing a sound!');
|
||||
|
||||
Reference in New Issue
Block a user