FranciscoG / DerpyBot

A Dubtrack.fm Bot using DubAPI and Firebase
MIT License
3 stars 2 forks source link
bot dubapi dubtrack node

DerpyBot Avatar

DerpyBot

License build

A Dubtrack Bot using DubAPI

List of commands

Requirements

  1. Node >= 18.0.0

Installation

Note - Windows 10 users may need to npm install --global --production windows-build-tools first

  1. npm install
  2. Create a new app in Firebase and export the service account credentials as json, rename it to serviceAccountCredentials.json and place it inside the private folder. It's in the Permissions settings somewhere. Firebase Console for your project -> Permissions -> Service Accounts -> Create Service Account, then follow the steps, give it "project -> editor" permissions, then download and rename the JSON it provides.
  3. Create settings.js, see README.md in /private for more details, replacing each variable with your credentials and place that inside the private folder as well
  4. node index

TODO: include PM2 instructions here

Thanks

Commands

List of commands can be found here