📌 Step-by-Step Installation Guide (Click to Expand)
-
Update your system (Recommended):
sudo apt update && sudo apt upgrade -ysudo apt install python3-full
-
Install essential tools:
python3 -m venv venv
-
Install UV package manager:
source venv/bin/activate -
Clone the repository:
git clone https://github.com/Shreya0789/Annex
-
Create virtual environment:
ls
-
Activate environment:
cd Annex -
Install dependencies:
ls
-
Setup environment file:
pip install -r sainibots.txt
-
Edit configuration (Choose one method):
ls
- For advanced users (vim):
sudo apt install tmux && tmux
python3 main.py
- For advanced users (vim):
-
bot token dalo aisa hoga (keeps running after logout):
4889ggu7yutio5
y
🔑 Required Variables (Click to expand)
| Variable | Description | How to Get |
|---|---|---|
API_ID |
Telegram App ID | my.telegram.org |
API_HASH |
Telegram App Hash | my.telegram.org |
BOT_TOKEN |
Bot Token | @BotFather |
MONGO_URI |
MongoDB Connection | MongoDB Atlas |
| Command | Description |
|---|---|
/info [query] |
information |
/drm |
video nikalo |
/stop / ` |
stop |