mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-23 07:35:06 +01:00
added deepl plugin
This commit is contained in:
@@ -7,6 +7,7 @@ from plugins.crypto import CryptoPlugin
|
||||
from plugins.weather import WeatherPlugin
|
||||
from plugins.web_search import WebSearchPlugin
|
||||
from plugins.wolfram_alpha import WolframAlphaPlugin
|
||||
from plugins.deepl import DeeplTranslatePlugin
|
||||
|
||||
|
||||
class PluginManager:
|
||||
@@ -23,6 +24,7 @@ class PluginManager:
|
||||
'spotify': SpotifyPlugin(),
|
||||
'translate': TranslatePlugin(),
|
||||
'image_search': ImageSearchPlugin(),
|
||||
'deepl': DeeplTranslatePlugin()
|
||||
}
|
||||
self.plugins = [plugin_mapping[plugin] for plugin in enabled_plugins]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user