Add sysmsg sound

This commit is contained in:
2021-04-09 13:33:14 +02:00
parent fdfc431107
commit 9ec6ee3922
3 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ const api = {
respond: (message, text, voiceText) => {
let toSend = message.member.displayName + ", " + (voiceText ? voiceText : text);
if (message.member.voice.channel) {
api.queue.add(__dirname + "/sysmsg.wav");
api.speak(message.member.voice.channel, toSend);
} else {
message.reply(text);