A discord bot for managing your server
pip3 install -r requirements.txt
)Rename base-configs.py
to configs.py
Make sure to include the discord token & modify the channels and roles IDs if neccessary
Invite the bot in your server with the following permissions: 402869446
If you're using docker with a local instance of MongoDB, use host.docker.internal
instead of localhost
DB_HOST
: The host of the MongoDB server.DB_PORT
: The port of the MongoDB server (Default is 27017).DB_NAME
: The name of the MongoDB database.DB_USER
: The username of the MongoDB user.DB_PWD
: The password of the MongoDB user.Once that is done, you will need to create the MongoDB user. Make sure to replace DB_USER
and DB_PWD
with the values set above.
$ mongo
mongo> use admin
switched to db admin
mongo> db.createUser({user: "DB_USER", pwd: "DB_PWD", roles: [{role: "root", db: "admin"}]})
{ "ok" : 1 }
sh start.sh
python3.10 run.py