update instructions
This commit is contained in:
10
README.md
10
README.md
@@ -4,14 +4,20 @@ My vibe code for the marketplace bay bot
|
|||||||
|
|
||||||
How to use: -
|
How to use: -
|
||||||
- Download the repo, cd into the directory
|
- Download the repo, cd into the directory
|
||||||
- Edit the values of the bot you want to run at the top of the file. Change the API URL, API Token and BotFather Token
|
- Choose which bot you want to run -
|
||||||
|
```
|
||||||
|
DSbot.py = Discord Bot
|
||||||
|
GTbot.py = Telegram Group Topics bot
|
||||||
|
DMbot.py = Telegram Bot DM bot
|
||||||
|
```
|
||||||
|
- Edit the values of the example.env file accordingly and rename the file to ```.env```.
|
||||||
- Run these commands =
|
- Run these commands =
|
||||||
```
|
```
|
||||||
sudo apt install python3-pip python3-venv
|
sudo apt install python3-pip python3-venv
|
||||||
tmux new -s mpb
|
tmux new -s mpb
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install python-telegram-bot requests
|
pip install python-telegram-bot requests python-dotenv discord.py
|
||||||
python3 <name of the bot you want to run for group or for DMs>.py
|
python3 <name of the bot you want to run for group or for DMs>.py
|
||||||
```
|
```
|
||||||
- Profit
|
- Profit
|
||||||
Reference in New Issue
Block a user