Skip to content

Creating configuration file

Charlie edited this page Oct 28, 2020 · 8 revisions

Config File

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

{
  "prefix": "!",
  "discord_owner_id": "Your-Discord-ID",
  "token": "Your-Bot-Token",
  "tenorAPI": "tenor-API-key",
  "newsAPI": "news-api-key",
  "youtubeAPI": "youtube-api-key",
  "yandexAPI": "yandex-api-key",
  "geniusLyricsAPI": "genius-api-key"
}

For basic functionality, you only need to enter the discord_owner_id and your bot token.


Getting API Keys