This commit is contained in:
Cedric Hoelzl 2019-12-25 16:46:30 +01:00
parent 941715b26d
commit d0bd23fee2

View File

@ -43,7 +43,7 @@ module.exports = function(cmds){
action : (bot,event,message)=>{
const ss = message.text.replace('/','');
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{
return event.reply("Unknown Sound !");
}