mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-20 14:14:52 +01:00
Add auto_tts plugin
This commit is contained in:
@@ -49,7 +49,7 @@ class DDGImageSearchPlugin(Plugin):
|
||||
},
|
||||
}]
|
||||
|
||||
async def execute(self, function_name, **kwargs) -> Dict:
|
||||
async def execute(self, function_name, helper, **kwargs) -> Dict:
|
||||
with DDGS() as ddgs:
|
||||
image_type = kwargs.get('type', 'photo')
|
||||
ddgs_images_gen = ddgs.images(
|
||||
|
||||
Reference in New Issue
Block a user