mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-19 21:55:06 +01:00
Add auto_tts plugin
This commit is contained in:
@@ -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}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user