From 83624684e6956fc4ecce19407fe4022028458abc Mon Sep 17 00:00:00 2001 From: guilevi Date: Sun, 2 May 2021 18:57:34 +0200 Subject: [PATCH] Fix string issue --- modules/Canttalk/index.js | 2 +- tts/.DS_Store | Bin 10244 -> 10244 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Canttalk/index.js b/modules/Canttalk/index.js index 6fd0bfa..a33c0de 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.announcementEngine.longName)); + api.respond(message, printf(api.strings.INVALID_VOICE, api.announcementVoice, api.ttsEngines[userEngine].longName)); } await api.db.run('update TTSPreferences set engine=?, voice=? where user_id=?', userEngine, userVoice, message.author.id); } else { diff --git a/tts/.DS_Store b/tts/.DS_Store index 3755d0cbb8f7d4d81831e89b8c0117eee7b9ab44..3d43c49500da60d66e4e5bc15cdf1eb641c17925 100644 GIT binary patch delta 99 zcmZn(XbG4Q$z9Bl&ybf?UR;orv$1d*`@{y`&FmZ;9Ge9MCo^)gG9)roF_bbCO@1eO xOB~K)NG%I4%FD^mOJ`tUV4VC=SYq=IA%EV94J@146@IZy-Ysag*