From 5882be1e43283c082078460eca0f25617d85de02 Mon Sep 17 00:00:00 2001 From: guilevi Date: Sun, 2 May 2021 19:01:14 +0200 Subject: [PATCH] I'm a dumbass, fixed for real ffs --- modules/Canttalk/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Canttalk/index.js b/modules/Canttalk/index.js index a33c0de..ef1801e 100644 --- a/modules/Canttalk/index.js +++ b/modules/Canttalk/index.js @@ -30,7 +30,7 @@ module.exports = async (bot, api) => { api.respond(message, printf(api.strings.USER_VOICE_CHANGED, userVoice, api.ttsEngines[userEngine].longName)); } else { userVoice = api.ttsEngines[userEngine].getDefaultVoice(); - api.respond(message, printf(api.strings.INVALID_VOICE, api.announcementVoice, api.ttsEngines[userEngine].longName)); + api.respond(message, printf(api.strings.INVALID_VOICE, userVoice, api.ttsEngines[userEngine].longName)); } await api.db.run('update TTSPreferences set engine=?, voice=? where user_id=?', userEngine, userVoice, message.author.id); } else {