30 lines
949 B
Markdown
30 lines
949 B
Markdown
# Marketplace Bay Bot
|
|
|
|
My vibe code for the marketplace bay bot
|
|
|
|
## How to use: -
|
|
- Download the repo, cd into the directory
|
|
- 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 =
|
|
```
|
|
sudo apt install python3-pip python3-venv
|
|
tmux new -s mpb
|
|
python3 -m venv venv
|
|
source venv/bin/activate
|
|
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
|
|
```
|
|
- press ```ctrl + b + d``` and profit
|
|
- to go back into the console at any time run ```tmux a```
|
|
|
|
## P.S. Special configuration for the discord bot ```DSboy.py```: -
|
|
|
|
You need these permissions scoped in the Discord developer portal before you add the bot to a server.
|
|
|
|
 |