Fixed sound volume and sysmsg path
parent
af02d2d279
commit
fc43c43d59
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
BIN
sysmsg.wav
BIN
sysmsg.wav
Binary file not shown.
Loading…
Reference in New Issue