-
Notifications
You must be signed in to change notification settings - Fork 364
Creating configuration file
Charlie edited this page Jan 24, 2021
·
8 revisions
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",
"yandexAPI": "yandex-api-key",
"twitchClientID": "Your-Client-ID",
"twitchClientSecret": "Your-Client-Secret"
}
Note: For basic functionality, you only need to enter the discord_owner_id 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.