diff --git a/bot.py b/bot.py index 4e2baa33..22b32b75 100644 --- a/bot.py +++ b/bot.py @@ -34,14 +34,12 @@ api_hash=Config.API_HASH, bot_token=Config.BOT_TOKEN, workers=50, - plugins=dict(root="Uploader"), + plugins=dict(root="plugins"), ) bot.start() logger.info("Bot has started.") -logger.info( - f"**Bot Started**\n\n**Pyrogram Version:** `{__version__}`\n**Layer:** `{layer}`" -) +logger.info("**Bot Started**\n\n**Pyrogram Version:** %s \n**Layer:** %s", __version__, layer) logger.info("Developed by github.com/kalanakt Sponsored by www.netronk.com") idle() bot.stop() diff --git a/Uploader/__init__.py b/plugins/__init__.py similarity index 50% rename from Uploader/__init__.py rename to plugins/__init__.py index d3f5a12f..8b137891 100644 --- a/Uploader/__init__.py +++ b/plugins/__init__.py @@ -1 +1 @@ - + diff --git a/Uploader/button.py b/plugins/button.py similarity index 100% rename from Uploader/button.py rename to plugins/button.py diff --git a/Uploader/callbacks.py b/plugins/callbacks.py similarity index 100% rename from Uploader/callbacks.py rename to plugins/callbacks.py diff --git a/Uploader/commands.py b/plugins/commands.py similarity index 100% rename from Uploader/commands.py rename to plugins/commands.py diff --git a/Uploader/dl_button.py b/plugins/dl_button.py similarity index 100% rename from Uploader/dl_button.py rename to plugins/dl_button.py diff --git a/Uploader/echo.py b/plugins/echo.py similarity index 100% rename from Uploader/echo.py rename to plugins/echo.py diff --git a/Uploader/functions/__init__.py b/plugins/functions/__init__.py similarity index 100% rename from Uploader/functions/__init__.py rename to plugins/functions/__init__.py diff --git a/Uploader/functions/display_progress.py b/plugins/functions/display_progress.py similarity index 100% rename from Uploader/functions/display_progress.py rename to plugins/functions/display_progress.py diff --git a/Uploader/functions/help_Nekmo_ffmpeg.py b/plugins/functions/help_Nekmo_ffmpeg.py similarity index 100% rename from Uploader/functions/help_Nekmo_ffmpeg.py rename to plugins/functions/help_Nekmo_ffmpeg.py diff --git a/Uploader/functions/help_uploadbot.py b/plugins/functions/help_uploadbot.py similarity index 100% rename from Uploader/functions/help_uploadbot.py rename to plugins/functions/help_uploadbot.py diff --git a/Uploader/functions/help_ytdl.py b/plugins/functions/help_ytdl.py similarity index 100% rename from Uploader/functions/help_ytdl.py rename to plugins/functions/help_ytdl.py diff --git a/Uploader/functions/ran_text.py b/plugins/functions/ran_text.py similarity index 100% rename from Uploader/functions/ran_text.py rename to plugins/functions/ran_text.py diff --git a/Uploader/script.py b/plugins/script.py similarity index 100% rename from Uploader/script.py rename to plugins/script.py diff --git a/Uploader/thumbunali.py b/plugins/thumbunali.py similarity index 100% rename from Uploader/thumbunali.py rename to plugins/thumbunali.py diff --git a/Uploader/utitles.py b/plugins/utitles.py similarity index 100% rename from Uploader/utitles.py rename to plugins/utitles.py diff --git a/Uploader/youtube.py b/plugins/youtube.py similarity index 100% rename from Uploader/youtube.py rename to plugins/youtube.py