ok
This commit is contained in:
parent
941715b26d
commit
d0bd23fee2
@ -43,7 +43,7 @@ module.exports = function(cmds){
|
|||||||
action : (bot,event,message)=>{
|
action : (bot,event,message)=>{
|
||||||
const ss = message.text.replace('/','');
|
const ss = message.text.replace('/','');
|
||||||
if(sound_list[ss] != undefined){
|
if(sound_list[ss] != undefined){
|
||||||
return event.replyWithAudio({source:'./sounds/'+ sound_list[ss].file, title:"OOF", Performer:"Roblox"});
|
return event.replyWithVoice({source:'./sounds/'+ sound_list[ss].file});
|
||||||
}else{
|
}else{
|
||||||
return event.reply("Unknown Sound !");
|
return event.reply("Unknown Sound !");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user