Fixed sound volume and sysmsg path

master
Talon 2021-07-12 19:57:53 +02:00
parent af02d2d279
commit fc43c43d59
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 files = fs.readdirSync(process.env["VOICE_TMP_PATH"]);
const rnd = files[Math.floor(Math.random()*files.length)]; const rnd = files[Math.floor(Math.random()*files.length)];
console.log(rnd); console.log(rnd);
api.queue.add(__dirname + "/../sysmsg.wav"); api.queue.add(__dirname + "/../../sysmsg.wav");
api.queue.add(process.env["VOICE_TMP_PATH"] + "/" + rnd); api.queue.add(process.env["VOICE_TMP_PATH"] + "/" + rnd);
}); });
} }

Binary file not shown.