This guide will teach you how to enable IGDB integration for GiftAway. IGDB integration will allow giftaway messages to display info about the game being given away.
Ensure you have the cog installed.
Add the repo: [p]repo add flamecogs https://github.com/Flame442/FlameCogs
.
[p] is your prefix.
Install giftaway: [p]cog install flamecogs giftaway
.
Load giftaway: [p]load giftaway
.
Create a twitch account.
Enable two factor authentication for your twitch account.
Create a new application on twitch. Put whatever you want for the application name (although it needs to be unique),
enter "http://localhost
" for the OAuth Redirect URLs field, and select "Application integration
" for the category.
Click manage on your newly created app.
Generate a new client secret by clicking "New secret
".
Give the bot your API ID and secret with [p]set api igdb id <your_id> secret <your_secret>
.