A simple Discord bot using discord.js. Uses a JSON copy of Enlir's FFRK database.
npm install
to install the requirements from package.json.- Copy
config.json.example
toconfig.json
and replace the token with your own Discord bot token. - Replace the owner with your own Discord ID.
node ffrkbot.js
to run the bot.- To run the bot in the background, run
runbot.sh
so that the bot respawns if it crashes abnormally.
Google credentials are needed if you're doing stuff with the speedrun functionality.
Follow the directions at Google Developer's quickstart and save your
credentials.json
and client_secret.json
to the secrets
folder.
MIT.