mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-22 07:04:59 +01:00
Add auto_tts plugin
This commit is contained in:
@@ -33,7 +33,7 @@ class DeeplTranslatePlugin(Plugin):
|
||||
},
|
||||
}]
|
||||
|
||||
async def execute(self, function_name, **kwargs) -> Dict:
|
||||
async def execute(self, function_name, helper, **kwargs) -> Dict:
|
||||
if self.api_key.endswith(':fx'):
|
||||
url = "https://api-free.deepl.com/v2/translate"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user