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:
@@ -26,7 +26,7 @@ class WebshotPlugin(Plugin):
|
||||
characters = string.ascii_letters + string.digits
|
||||
return ''.join(random.choice(characters) for _ in range(length))
|
||||
|
||||
async def execute(self, function_name, **kwargs) -> Dict:
|
||||
async def execute(self, function_name, helper, **kwargs) -> Dict:
|
||||
try:
|
||||
image_url = f'https://image.thum.io/get/maxAge/12/width/720/{kwargs["url"]}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user