Skip to content

Creating configuration file

Nir edited this page Sep 9, 2021 · 8 revisions

Config File

You will need to create a file in the bot root directory named config.json and have the following content:

{
  "invite": "false",
  "mongo_URI": "your-mongodb-uri",
  "client_id": "your-bot-discord-id",
  "token": "Your-Bot-Token",
  "geniusLyricsAPI": "genius-api-key",
  "tenorAPI": "tenor-API-key",
  "newsAPI": "news-api-key",
  "twitchClientID": "Your-Client-ID",
  "twitchClientSecret": "Your-Client-Secret"
}

Note: For basic functionality, you only need to enter the token, mongo_URI and client_id. If you want all commands to work then you'll need API keys. You can get them from the links below.

When enabling "invite" remember to have the bot set to a public bot in the Discord Developer portal.


Getting API Keys