Update telegram_bot.py

This commit is contained in:
ned
2023-11-18 16:32:19 +01:00
committed by GitHub
parent 59ce528219
commit 9c4178c1f0

View File

@@ -46,8 +46,8 @@ class ChatGPTTelegramBot:
if self.config.get('enable_image_generation', False): if self.config.get('enable_image_generation', False):
self.commands.append(BotCommand(command='image', description=localized_text('image_description', bot_language))) self.commands.append(BotCommand(command='image', description=localized_text('image_description', bot_language)))
if self.config.get('enable_speech_generation', False): if self.config.get('enable_tts_generation', False):
self.commands.append(BotCommand(command='tts', description=localized_text('speech_description', bot_language))) self.commands.append(BotCommand(command='tts', description=localized_text('tts_description', bot_language)))
self.group_commands = [BotCommand( self.group_commands = [BotCommand(
command='chat', description=localized_text('chat_description', bot_language) command='chat', description=localized_text('chat_description', bot_language)