Kruiger Labs
Client Portal Get Started
DocumentationIAA BOT
Sign inGet support
IAA BOT

IAA BOT Authorization and Workflows

Understand /authorize, lookup access, workflow submission, reviews, and local workflow state.

View IAA BOT Product

Authorization flow#

1

User runs /authorize

2

IAA BOT requests an authorization session from the backend

3

Bot provides an authorization URL

4

User opens the HTTPS website

5

User signs in through Discord OAuth2

6

Website validates the callback and records authorization

7

Backend determines permitted guild/server information

8

Staff uses /lookup or related tools

9

Bot retrieves approved data from the secured API

/authorization-status requests the current backend authorization state for the supported user.

Commands and dependencies#

CommandPurpose
/authorizeCreates a backend authorization session and presents the website URL.
/authorization-statusRuns the authorization status workflow. Discord displays the available parameters when the command is selected.
/lookupRetrieves only intelligence approved by the backend for an authorized user.
/blacklistRuns the blacklist workflow. Discord displays the available parameters when the command is selected.
/caseRuns the case workflow. Discord displays the available parameters when the command is selected.
/permissionsRuns the permissions workflow. Discord displays the available parameters when the command is selected.
/staffRuns the staff workflow. Discord displays the available parameters when the command is selected.
/iaaRuns the iaa workflow. Discord displays the available parameters when the command is selected.
/blacklistserverRuns the blacklistserver workflow. Discord displays the available parameters when the command is selected.
/blacklistuserRuns the blacklistuser workflow. Discord displays the available parameters when the command is selected.
/poachRuns the poach workflow. Discord displays the available parameters when the command is selected.
/recruitRuns the recruit workflow. Discord displays the available parameters when the command is selected.
/mergeRuns the merge workflow. Discord displays the available parameters when the command is selected.
/altRuns the alt workflow. Discord displays the available parameters when the command is selected.
/punishment-requestRuns the punishment request workflow. Discord displays the available parameters when the command is selected.
/reviewRuns supported approval or denial actions and synchronizes the decision to the backend.

Local workflow state#

iaa_workflows.sqlite3 retains some workflow state locally. The website database remains the primary source of truth where strict synchronization is required. Back up the file with the bot configuration, but do not treat it as a replacement for backend persistence.

Back to top