Skip to content

kometh0616/crown-bot

Repository files navigation

Crown Bot

If you are reading this, you are probably here because FMcord's &whoknows command was taken down. We could no longer sustain this feature, so we had to shut it down. This bot includes most of the functionality FMcord had within its crown system.

Command &whoknows was removed because it was making a lot of API requests. This hasn't changed in this bot. It is your responsibility to ensure that the bot will not make too many requests. If you get API banned for using this bot, it is your problem.

To run the bot, do the following:

  1. Clone this project by doing git clone https://github.com/kometh0616/crown-bot.git in your Terminal or Command Line, depending on your system.
  2. Enter the cloned folder by doing cd crown-bot.
  3. Do yarn install. This will install all the dependencies needed for the bot to work. Do not close the terminal just yet.
  4. Get a Discord token for your bot, you can get one here
  5. Get a Last.fm API key, you can apply for one here
  6. Write those credentials down, as you will need them later.
  7. Create a new file, called config.json.
  8. Populate it as shown on config.example.json. You have to fill in all the values.
  9. Run the bot by doing node index.js in your terminal.

If you want to add more commands to the bot, consider seeing command.example.js. Note that you need to have an intermediate knowlege of JavaScript in order to create more commands.

About

FMcord's "whoknows" feature and crown hierarchy system will be moved here.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published