ADEPT-Informatique / adeptbot

Discord bot de l'ADEPT
MIT License
4 stars 2 forks source link
hacktoberfest

ADEPT Informatique Bot

A discord bot for managing your server

Getting started

Requirements

Setting up the bot

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

Setting up the database

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 }

Running the bot

Using Docker

sh start.sh

Using python

python3.10 run.py