This commit is contained in:
Daniel Odendahl Jr
2017-03-20 16:52:48 +00:00
parent 2f16d4894d
commit 016b97ffc2
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class SoundBoardCommand extends commando.Command {
if(soundToPlay === "") { if(soundToPlay === "") {
message.channel.send(':x: Error! No sound set. Please use ;soundboard list to see a list of sounds you can play.'); message.channel.send(':x: Error! No sound set. Please use ;soundboard list to see a list of sounds you can play.');
} else if(soundToPlay === 'list') { } 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, Eat my Shorts, No This is Patrick"); 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, Eat my Shorts, No This is Patrick, Wumbo");
} else if(soundToPlay === sounds.avaliable[soundToPlay]) { } 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) {
+4 -2
View File
@@ -16,7 +16,8 @@
"airhorn": "airhorn", "airhorn": "airhorn",
"zelda chest": "zelda chest", "zelda chest": "zelda chest",
"eat my shorts": "eat my shorts", "eat my shorts": "eat my shorts",
"no this is patrick": "no this is patrick" "no this is patrick": "no this is patrick",
"wumbo": "wumbo"
}, },
"paths": { "paths": {
"cat": "./sounds/cat.mp3", "cat": "./sounds/cat.mp3",
@@ -35,6 +36,7 @@
"airhorn": "./sounds/airhorn.mp3", "airhorn": "./sounds/airhorn.mp3",
"zelda chest": "./sounds/zelda-chest.mp3", "zelda chest": "./sounds/zelda-chest.mp3",
"eat my shorts": "./sounds/eat-my-shorts.mp3", "eat my shorts": "./sounds/eat-my-shorts.mp3",
"no this is patrick": "./sounds/no-this-is-patrick.mp3" "no this is patrick": "./sounds/no-this-is-patrick.mp3",
"wumbo": "./sounds/wumbo.mp3"
} }
} }
BIN
View File
Binary file not shown.