Repository "PlainUB-Extras" [Work in progress] is a collection of additional modules and features designed for use with plain-ub — A simple Telegram User-Bot. These scripts extend the functionality of the bot with custom commands and tools.
-
In your docker
config.envfile, add or modify the following line to point to your fork or this repository directly:EXTRA_MODULES_REPO=https://github.com/R0Xofficial/PlainUB-Extras
-
Deploy or restart your bot. The modules will be automatically loaded from the external rerepository.
-
To update modules from the external repository, simply use the following command in the chat:
eupdate -pullor
eup -pull
If you're deploying manually (without EXTRA_MODULES_REPO), you can also install the modules this way:
-
Go to the
appfolder in your Plain-UB directory:cd app -
Create a new folder named
modulesif it doesn't already exist:mkdir modules
-
Clone this repository into the
modulesfolder:git clone https://github.com/R0Xofficial/PlainUB-Extras modules
-
Restart your bot to load the modules.
-
To update modules from the external repository, simply use the following command in the chat:
eupdate -pullor
eup -pull
To check if you are using the latest PlainUB-Extras add-ons, simply use one of the commands below:
eupdate
or
eup
eup command is the same what eupdate command
📄 Note: (for people who forked this repository).
To check upstream repo use those command with -repo flag. If official repo data is showing up, it means you haven't changed the repository data in the 'settings.py' file.
Change REPO_OWNER and REPO_NAME to your own if you want the script to check for updates to your repo.
Some modules may require additional configuration, such as API keys or tokens. To configure them:
-
Copy the example config file:
cp example-extra_config.env extra_config.py
-
Open
extra_config.pyin a text editor and fill in your own API keys or tokens as needed. -
Restart your bot after saving the changes.
Some modules may require additional Python packages. To install all necessary dependencies from the requirements.txt file, run:
pip install -r requirements.txtMake sure you're in the correct directory where the requirements.txt file is located, or provide the full path.
📄 Note:
Some modules may require additional libraries that are not available via pip.
In such cases, you need to install them using pkg (for example, in Termux):
pkg install <package_name>Example:
pkg install zbar -y(yes, zbar is needed)
You are using these modules at your own risk.
I am not responsible for:
- incorrect or abusive usage of these modules,
- violations of Telegram's Terms of Service (ToS),
- account bans, restrictions, or any other consequences resulting from the usage of this code.
Need help, suggestions, or want to report a bug? Contact: @ItsR0Xx on Telegram.