Built with interactions.py.
- create a discord bot here
- go to SETTINGS > OAuth2 > URL Generator
- in SCOPES, select bot
- in BOT PERMISSIONS > TEXT PERMISSIONS, select Send Messages and Use Slash Commands
- copy the GENERATED URL and paste it in your browser
- copy the TOKEN in SETTINGS > Bot > Built-A-Bot > TOKEN
- make sure python 3.10+ is installed
- check the version by running
python --version
- if not installed, download it here
- check the version by running
- clone the repository by running
git clone https://github.com/BWsix/dough.git
- cd into the directory by running
cd dough
- install the dependencies by running
pip install -r requirements.txt
- rename
.env.example
to.env
and configure the variables - run the bot by running
python main.py
- cd into the directory by running
cd dough
- pull the latest changes by running
git pull
- install the dependencies by running
pip install -r requirements.txt
or
- open
/scripts
in file explorer and double clickupdate.bat
pm2 is a process manager for Node.js applications. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
- install pm2 by running
npm install pm2 -g
- cd into the directory by running
cd dough
- start the bot by running
pm2 start main.py --name discord-bot
- stop the bot by running
pm2 stop discord-bot
- monitor the bot by running
pm2 monit
or
- open
/scripts
in file explorer and double clickstart.bat
/stop.bat
/monitor.bat
(in dm) /upload [image]
- upload rips anonymously