Skip to content

Creating configuration file

Bacon Fixation edited this page Feb 2, 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",
  "prefix": "!",
  "discord_owner_id": "Your-Discord-ID",
  "token": "Your-Bot-Token",
  "youtubeAPI": "youtube-api-key",
  "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 discord_owner_id, youtubeAPI, prefix, and your token. 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