Discord-bot built using Heroku as a provider.
Notifies a user inside after a certain time interval about a custom message or original reminder message.
Usage: !remindme <relativetime> <message?>
Examples:
!remindme 30s This is a reminder!
!remindme 8h
- Grab a Client ID from any of your discord apps (create one if needed)
- Join the Bot to any server using
https://discordapp.com/oauth2/authorize?client_id=[YOUR BOT CLIENT ID]&scope=bot&permissions=18432
- (local) Install the Heroku Toolbelt
- (local) Verify Node.js is >=v8.0.0 by running
node -v
; if not, update it - (local) Clone the repository (remote) Push this repository to your heroku app
- (local) Run
npm install
and install any other package dependencies the output log mentions - (local) Create a .env-file containing the following lines (replace comments with values & remove headers):
(remote) Setup the following config variables in your Heroku-dashboard athttps://dashboard.heroku.com/apps/[YOUR-HEROKU-APP]/settings
:
--- Discord setttings ---
DISCORD_USER_TOKEN= // [string] User token of your discord app
- (local) Run
heroku local
inside the repository
(remote) Restart all dynos