diff --git a/config.js b/config.js index f4137c6..5194756 100644 --- a/config.js +++ b/config.js @@ -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 !"); }