Add auto_tts plugin

This commit is contained in:
Jipok
2023-11-23 20:48:16 +05:00
parent 904f49e475
commit 371b9597ee
17 changed files with 63 additions and 17 deletions

View File

@@ -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"]}'