Simple express + discordjs hybrid for announcing rank updates
- JavaScript 98.5%
- Dockerfile 1.5%
| discord | ||
| utils | ||
| web | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| index.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Rank Announce
Small express + discord.js hybrid application.
Extremely minimalistic, see web/main.js for routes and params.
Setup
Use the damn docker file.
Env
RANK_ANNOUNCE_WEBSERVER_PORT- Port to run the webserver onRANK_ANNOUNCE_DISCORD_TOKEN- Discord bot tokenRANK_ANNOUNCE_DISCORD_CLIENT_ID- Discord client ID- Postgres Environemnt Variables, see postgres docs
Usage
- Use
/registerto register the current channel as a rank announce channel. Make sure your permissions are set up correctly, the bot does not check if the user actually should have permissions. - Send a POST to any of the endpoints, depending on what you want to announce.
- Receive the message
License
MIT
