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)