Skip to content

Simple Discord.js bot for keeping track of member points

Notifications You must be signed in to change notification settings

domaincord/points-bot

Repository files navigation

Simple Discord Points Bot

Originally created for the Domaincord Community.

Usage

I'm assuming you already know how to get a bot token and add the bot to your server.

  1. Rename the .env.example file to .env and fill in the appropriate values.
  2. Download a Firebase Admin service account key and put it in the root directory of the bot folder and make sure to call it serviceAccountKey.json
  3. Run npm install
  4. Run npm start or use a process manager like pm2 to keep the bot running across server restarts and automatically restart the bot if it crashes.

Make sure the bot has access to read and send messages in all channels you want the commands to be used!