From 6451b61f19c7493fc3e612ba99c2e346d286bae3 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Wed, 25 Dec 2019 16:52:23 +0100 Subject: [PATCH] init --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !"); }