Fixed crash with announcer
This commit is contained in:
@@ -25,7 +25,8 @@ module.exports = function (bot, api) {
|
||||
} else {
|
||||
str = printf(api.strings.USER_JOINED, username);
|
||||
}
|
||||
const filepath = await api.generateVoice(str, api.announcementEngine, api.announcementVoice);
|
||||
api.queue.add(__dirname + "/sysmsg.wav");
|
||||
api.queue.add(channel, str);
|
||||
api.queue.add(filepath);
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user