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

@@ -35,7 +35,7 @@ class WorldTimeApiPlugin(Plugin):
},
}]
async def execute(self, function_name, **kwargs) -> Dict:
async def execute(self, function_name, helper, **kwargs) -> Dict:
timezone = kwargs.get('timezone', self.default_timezone)
url = f'https://worldtimeapi.org/api/timezone/{timezone}'