This commit is contained in:
Daniel Odendahl Jr
2017-03-19 05:13:01 +00:00
parent 72899d2b63
commit ef6eb5f05a
5 changed files with 9 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');
message.channel.send("**Available Sounds:** Cat, Pikachu, Vader, Doh, It's a Trap, Mario Death");
} else if(soundToPlay === sounds.avaliable[soundToPlay]) {
voiceChannel.join().then(connnection => {
let stream = sounds.paths[soundToPlay];
+8 -2
View File
@@ -2,11 +2,17 @@
"avaliable": {
"cat": "cat",
"pikachu": "pikachu",
"vader": "vader"
"vader": "vader",
"doh": "doh",
"it's a trap": "it's a trap",
"mario death": "mario death"
},
"paths": {
"cat": "./sounds/cat.mp3",
"pikachu": "./sounds/pikachu.mp3",
"vader": "./sounds/vader.mp3"
"vader": "./sounds/vader.mp3",
"doh": "./sounds/doh.mp3",
"it's a trap": "./sounds/its-a-trap.mp3",
"mario death": "./sounds/mario-death.mp3"
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.