Discord bot to notify when people start playing games.
- Create a
bot.json
file with your bot's token and the channel ID which you'd notifications in:
{
"token": "<your-token>",
"channel": "<your-channel-id>"
}
- Optionally, add the role ID you'd like mentioned in case multiple people are playing the same game at once:
{
"token": "<your-token>",
"channel": "<your-channel-id>",
"role": "<your-role-id>"
}
yarn install
node run.js
- Invite the bot to your server (again following this guide), and you are done!
Run npm test
.