mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-22 15:14:54 +01:00
Add auto_tts plugin
This commit is contained in:
@@ -28,7 +28,7 @@ class YouTubeAudioExtractorPlugin(Plugin):
|
||||
},
|
||||
}]
|
||||
|
||||
async def execute(self, function_name, **kwargs) -> Dict:
|
||||
async def execute(self, function_name, helper, **kwargs) -> Dict:
|
||||
link = kwargs['youtube_link']
|
||||
try:
|
||||
video = YouTube(link)
|
||||
|
||||
Reference in New Issue
Block a user