Repository "PlainUB-Extras" 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.
-
Fork or clone this repository.
-
In your
config.env
file, 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 repository.
-
To update the modules from the external repository (your fork), simply use the following command in the chat:
.extupdate
If you're deploying manually (without EXTRA_MODULES_REPO
), you can also install the modules this way:
-
Go to the
app
folder in your Plain-UB directory:cd app
-
Create a new folder named
modules
if it doesn't already exist:mkdir modules
-
Clone this repository into the
modules
folder:git clone https://github.com/R0Xofficial/PlainUB-Extras modules
-
Restart your bot to load the modules.
-
To update the modules from the external repository (your fork), simply use the following command in the chat:
.extupdate
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.py
in 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.txt
Make sure you're in the correct directory where the requirements.txt
file is located, or provide the full path.
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: @ItsMeR0X on Telegram.