This commit is contained in:
Daniel Odendahl Jr
2017-03-19 05:45:41 +00:00
parent 34117bab4f
commit 93a36d49fd
4 changed files with 7 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, Dun Dun Dun, Spongebob, Ugly Barnacle, Woo Hoo");
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");
} else if(soundToPlay === sounds.avaliable[soundToPlay]) {
voiceChannel.join().then(connnection => {
let stream = sounds.paths[soundToPlay];
+6 -2
View File
@@ -10,7 +10,9 @@
"dun dun dun": "dun dun dun",
"spongebob": "spongebob",
"ugly barnacle": "ugly barnacle",
"woo hoo": "woo hoo"
"woo hoo": "woo hoo",
"space": "space",
"glados bird": "glados bird"
},
"paths": {
"cat": "./sounds/cat.mp3",
@@ -23,6 +25,8 @@
"dun dun dun": "./sounds/dun-dun-dun.mp3",
"spongebob": "./sounds/spongebob.mp3",
"ugly barnacle": "./sounds/ugly-barnacle.mp3",
"woo hoo": "./sounds/woohoo.mp3"
"woo hoo": "./sounds/woohoo.mp3",
"space": "./sounds/space.mp3",
"glados bird": "./sounds/glados-bird.mp3"
}
}
Binary file not shown.
BIN
View File
Binary file not shown.