From 3b735f3987d035b6be1fed6f4fefc38db8cdb204 Mon Sep 17 00:00:00 2001 From: ned Date: Fri, 28 Jul 2023 21:48:31 +0200 Subject: [PATCH] minor updates --- README.md | 2 +- bot/plugin_manager.py | 2 +- bot/plugins/{whois.py => whois_.py} | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) rename bot/plugins/{whois.py => whois_.py} (99%) diff --git a/README.md b/README.md index e294d92..8246368 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ Check out the [official API reference](https://platform.openai.com/docs/api-refe | `youtube_audio_extractor` | Extract audio from YouTube videos | - | `pip install pytube~=15.0.0` | | `deepl_translate` | Translate text to any language (powered by [DeepL](https://deepl.com)) - by [@LedyBacer](https://github.com/LedyBacer) | `DEEPL_API_KEY` | | | `gtts_text_to_speech` | Text to speech (powered by Google Translate APIs) | - | `pip install gtts~=2.3.2` | -| `whois` | Query the whois domain database | - | `pip install whois~=0.9.27` | +| `whois` | Query the whois domain database - by [@jnaskali](https://github.com/jnaskali) | - | `pip install whois~=0.9.27` | **Note**: some plugins have additional dependencies that are not listed in the `requirements.txt` file. If you plan on using these plugins, you can install them manually using the command above (see the `Dependency` column). diff --git a/bot/plugin_manager.py b/bot/plugin_manager.py index a27652b..635f056 100644 --- a/bot/plugin_manager.py +++ b/bot/plugin_manager.py @@ -12,7 +12,7 @@ from plugins.ddg_web_search import DDGWebSearchPlugin from plugins.wolfram_alpha import WolframAlphaPlugin from plugins.deepl import DeeplTranslatePlugin from plugins.worldtimeapi import WorldTimeApiPlugin -from plugins.whois import WhoisPlugin +from plugins.whois_ import WhoisPlugin class PluginManager: diff --git a/bot/plugins/whois.py b/bot/plugins/whois_.py similarity index 99% rename from bot/plugins/whois.py rename to bot/plugins/whois_.py index 417f122..7814558 100644 --- a/bot/plugins/whois.py +++ b/bot/plugins/whois_.py @@ -1,7 +1,9 @@ from typing import Dict from .plugin import Plugin + import whois + class WhoisPlugin(Plugin): """ A plugin to query whois database