IAA BOT
IAA BOT Setup
Deploy the companion website/API, configure Discord applications and guilds, set secrets, and test the authorization flow.
Deployment order#
- Deploy an HTTPS website/backend implementing the required OAuth and IAA API behavior.
- Configure Discord OAuth2 redirect URLs and the server-side callback.
- Create the Discord bot, invite it to the IAA and main guilds, and configure required intents and permissions.
- Set the bot environment variables, using separate values for the bot token, API key, and signing secret.
- Configure buyer_config.json role IDs and workflow channels.
- Start IAA BOT with
python main.py. - Run the before-going-live tests before staff use.
Requirements#
- Python 3.11 or newer
- Discord bot/application
- IAA Discord guild and main/community guild
- HTTPS website with server-side Discord OAuth2
- Backend implementing the IAA API contract
- Private API key and separate signing secret
- Persistent backend database appropriate to the website implementation