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