Originally created for the Domaincord Community.
I'm assuming you already know how to get a bot token and add the bot to your server.
- Rename the
.env.example
file to.env
and fill in the appropriate values. - 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
- Run
npm install
- 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!