From 9c4178c1f0d66d48fd75b512a6af6824caa044a5 Mon Sep 17 00:00:00 2001 From: ned <11541888+n3d1117@users.noreply.github.com> Date: Sat, 18 Nov 2023 16:32:19 +0100 Subject: [PATCH] Update telegram_bot.py --- bot/telegram_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/telegram_bot.py b/bot/telegram_bot.py index 3727949..922faa9 100644 --- a/bot/telegram_bot.py +++ b/bot/telegram_bot.py @@ -46,8 +46,8 @@ class ChatGPTTelegramBot: if self.config.get('enable_image_generation', False): self.commands.append(BotCommand(command='image', description=localized_text('image_description', bot_language))) - if self.config.get('enable_speech_generation', False): - self.commands.append(BotCommand(command='tts', description=localized_text('speech_description', bot_language))) + if self.config.get('enable_tts_generation', False): + self.commands.append(BotCommand(command='tts', description=localized_text('tts_description', bot_language))) self.group_commands = [BotCommand( command='chat', description=localized_text('chat_description', bot_language)