mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-22 07:04:59 +01:00
Update telegram_bot.py
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user