mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Soundboard More
This commit is contained in:
@@ -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");
|
message.channel.send("**Available Sounds:** Cat, Pikachu, Vader, Doh, It's a Trap, Mario Death, Pokemon Center");
|
||||||
} else if(soundToPlay === sounds.avaliable[soundToPlay]) {
|
} else if(soundToPlay === sounds.avaliable[soundToPlay]) {
|
||||||
voiceChannel.join().then(connnection => {
|
voiceChannel.join().then(connnection => {
|
||||||
let stream = sounds.paths[soundToPlay];
|
let stream = sounds.paths[soundToPlay];
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
"vader": "vader",
|
"vader": "vader",
|
||||||
"doh": "doh",
|
"doh": "doh",
|
||||||
"it's a trap": "it's a trap",
|
"it's a trap": "it's a trap",
|
||||||
"mario death": "mario death"
|
"mario death": "mario death",
|
||||||
|
"pokemon center": "pokemon center"
|
||||||
},
|
},
|
||||||
"paths": {
|
"paths": {
|
||||||
"cat": "./sounds/cat.mp3",
|
"cat": "./sounds/cat.mp3",
|
||||||
@@ -13,6 +14,7 @@
|
|||||||
"vader": "./sounds/vader.mp3",
|
"vader": "./sounds/vader.mp3",
|
||||||
"doh": "./sounds/doh.mp3",
|
"doh": "./sounds/doh.mp3",
|
||||||
"it's a trap": "./sounds/its-a-trap.mp3",
|
"it's a trap": "./sounds/its-a-trap.mp3",
|
||||||
"mario death": "./sounds/mario-death.mp3"
|
"mario death": "./sounds/mario-death.mp3",
|
||||||
|
"pokemon center": "./sounds/pokemon-center.mp3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user