Skip to content

Commit

Permalink
fix bot.py root dict
Browse files Browse the repository at this point in the history
  • Loading branch information
kalanakt committed Jan 28, 2024
1 parent 7f1a17d commit ec5588c
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion Uploader/__init__.py → plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

1 comment on commit ec5588c

@vercel
Copy link

@vercel vercel bot commented on ec5588c Jan 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

all-url-uploader – ./

urluploader.vercel.app
all-url-uploader-git-main-netronk.vercel.app
all-url-uploader-netronk.vercel.app

Please sign in to comment.