New sysmsg sound

master
Talon 2021-07-12 19:54:57 +02:00
parent c33d35689b
commit af02d2d279
2 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module.exports = async (bot, api) => {
const files = fs.readdirSync(process.env["VOICE_TMP_PATH"]);
const rnd = files[Math.floor(Math.random()*files.length)];
console.log(rnd);
api.queue.add(__dirname + "/sysmsg.wav");
api.queue.add(__dirname + "/../sysmsg.wav");
api.queue.add(process.env["VOICE_TMP_PATH"] + "/" + rnd);
});
}

Binary file not shown.