Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (18 loc) · 1012 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 1012 Bytes

FFRKBot

Build Status

What

A simple Discord bot using discord.js. Uses a JSON copy of Enlir's FFRK database.

Usage

  • npm install to install the requirements from package.json.
  • Copy config.json.example to config.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

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.

License

MIT.