Usage

Example usage of the Mega.nzBot

Things to note

  • By design, a user can only have one task running at a time

  • There are 3 privacy modes in the bot. They are automatically updated according to your configuration

    • auth only - Your bot will respond only to users defined in AUTH_USERS

    • public only - Your bot will work with multi-user features but you won't be able to have admin powers such as bans and user info (Avoid this if you can)

    • public with admins - This is the recommended configuration. You can have multi-user features while also having full control over users with admin commands

Basics

  • /start - Starts the bot

  • /help - Show help message

  • /login - Login to Mega account

  • /logout - Logout of Mega account

Downloads

  • Public content: <any mega.nz link>

    • Ex: https://mega.nz/file/kmcgFZAJ#QSyhIHJbEGk0r7wvavBV_7z3ax20BlrQAeH8gWQQ02M

  • Must be logged in Private content: /Root/<path to file or folder in mega.nz>

    • Ex: /Root/MegaBot

Uploads

  • Must be logged in Send / Forward a file to the bot, it'll ask if you want to upload it to your account or not

Bonus

  • Proxy setup - /proxy <proxy_url>

    • Please keep in mind that the free proxies you see on listed on the sites are probably not going to work.

  • Must be logged in Account info - /acc

Admins

  • Must be an Admin Check user info - /info <user_id>

  • Must be an Admin Ban a user - /ban <user_id> <reason>

  • Must be an Admin Unban a user - /unban <user_id>

Last updated