This project allow us to manage discord messages comming from external application to prevent spam (greenkeeper, snyk, trello, drive ...)
- Node.js v10 or higher
Clone Discord-Bot on your computer
$ git clone https://github.com/SlimIO/Discord-Bot.git
After cloning the project, you need to create a .env
file at the root of the project with two line.
WEBHOOK_ID=
WEBHOOK_TOKEN=
Don't forget to indicate after =
the ID and the token of your discord webhook
Steps to find this informations are described on the wiki of the project
To start the project write the following command line at the root of the project
$ npm start
Name | Refactoring | Security Risk | Usage |
---|---|---|---|
@polka/send | Minor | Low | TBC |
body-parser | Minor | High | Body Parser |
discord.js | High | Discord.js lib | |
dotenv | Minor | Low | Env file |
make-promises-safe | Low | TBC | |
polka | Minor | Low | Native HTTP server |
MIT