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