_____ _ _ _____ ____ _
| __ \(_) | | | __ \ | _ \ | |
| | | |_ ___ ___ ___ _ __ __| | | | | | _____ __ | |_) | ___ | |_
| | | | / __|/ __/ _ \| '__/ _` | | | | |/ _ \ \ / / | _ < / _ \| __|
| |__| | \__ \ (_| (_) | | | (_| | | |__| | __/\ V / | |_) | (_) | |_
|_____/|_|___/\___\___/|_| \__,_| |_____/ \___| \_/ |____/ \___/ \__|
Discord bot with several functionalities for web development. It includes various features ranging from freelance mission notifications to new ad notifications on online sales sites. It also allows for some jokes to lighten the mood on Discord servers, such as "Quoi ?" => "FEUR !".
Command allowing the configuration of a daily reminder. (agile methodology)
Example :
# List all daily configured
/daily list
# Configure daily
/daily enabled
# Remove daily
/daily disabledIf you are freelance and looking for a new mission, this command will allow you to receive the latest available missions based on the keywords you give them.
Example :
# List all mission notifications configured
/mission list
# Configure mission notification, pass keywords with this syntax : java,python,typescript
/mission enabled
# Remove mission notification
/mission disabled
# Update mission notification
/mission updateIf you want to have notifications of the latest LBC or other announcements you can set it up !!
Example :
# List all ads trackers notifications configured
/ad-tracker list
# Configure ads trackers ads notification
/ad-tracker enabled
# Remove ads trackers notification
/ad-tracker disabled
# Update ads trackers notification
/ad-tracker update- Node.js
- Yarn
- Docker
- Docker-compose
- Discord bot token
- Discord bot client id
- Discord bot public key
- Discord bot guild id
Install dependencies :
$ yarn --frozen-lockfileCreate your .env file with the following content from the .env.example file.
Replace the values with your own.
$ cp .env.example .envRun your local database with or without PgAdmin :
# Run database with PgAdmin
$ docker-compose up -d
# Run database without PgAdmin
$ docker-compose up -d postgresqlBefore running the app, you need to generate the Prisma client.
$ yarn db:generateRun the app :
# development
$ yarn dev
# production mode
$ yarn build && yarn startIf you want to run the bot with debug mode, you can run with F5 in VSCode.
# To generate client
$ yarn db:generate
# To deploy migration
$ yarn db:deploy
# To reset migration
$ yarn db:migrate:reset
# To create only migration
$ yarn db:migrate:create
# To apply migration
$ yarn db:migrate:devCreate your .env.prd file with the following content from the .env.example file.
Run the following command to build the docker image.
$ docker build -t discord-bot .Run the following command to start the docker container.
$ docker run -d --name discord-bot-prd --env-file .env.prd --add-host=host.docker.internal:host-gateway discord-bot