This commit is contained in:
Daniel Odendahl Jr
2017-03-19 05:30:59 +00:00
parent d5ab53db10
commit 34117bab4f
6 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class SoundBoardCommand extends commando.Command {
if(soundToPlay === "") {
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') {
message.channel.send("**Available Sounds:** Cat, Pikachu, Vader, Doh, It's a Trap, Mario Death, Pokemon Center");
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");
} else if(soundToPlay === sounds.avaliable[soundToPlay]) {
voiceChannel.join().then(connnection => {
let stream = sounds.paths[soundToPlay];
+10 -2
View File
@@ -6,7 +6,11 @@
"doh": "doh",
"it's a trap": "it's a trap",
"mario death": "mario death",
"pokemon center": "pokemon center"
"pokemon center": "pokemon center",
"dun dun dun": "dun dun dun",
"spongebob": "spongebob",
"ugly barnacle": "ugly barnacle",
"woo hoo": "woo hoo"
},
"paths": {
"cat": "./sounds/cat.mp3",
@@ -15,6 +19,10 @@
"doh": "./sounds/doh.mp3",
"it's a trap": "./sounds/its-a-trap.mp3",
"mario death": "./sounds/mario-death.mp3",
"pokemon center": "./sounds/pokemon-center.mp3"
"pokemon center": "./sounds/pokemon-center.mp3",
"dun dun dun": "./sounds/dun-dun-dun.mp3",
"spongebob": "./sounds/spongebob.mp3",
"ugly barnacle": "./sounds/ugly-barnacle.mp3",
"woo hoo": "./sounds/woohoo.mp3"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.