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

IAA BOT Environment and Buyer Configuration

Configure every IAA BOT environment variable, role ID, and workflow channel.

View IAA BOT Product

Environment variables#

SettingWhat to enterWhat it controls
DISCORD_BOT_TOKENYOUR_BOT_TOKENPrivate Discord bot token.
DISCORD_APPLICATION_IDYOUR_APPLICATION_IDDiscord application ID.
IAA_GUILD_IDYOUR_IAA_GUILD_IDGuild containing Internal Affairs staff and workflows.
MAIN_GUILD_IDYOUR_MAIN_GUILD_IDPrimary community guild.
MAIN_MEMBER_ROLE_IDYOUR_ROLE_IDRole identifying members in the main guild.
COMMUNITY_NAMEYour CommunityName displayed in supported output.
SITE_BASE_URLhttps://YOUR_DOMAINPublic website origin.
IAA_API_BASE_URLhttps://YOUR_DOMAIN/api/server/backend/intel/iaaSecured API base URL.
IAA_STAFF_PORTAL_URLhttps://YOUR_DOMAIN/server/backend/intel/iaaStaff portal link.
IAA_STAFF_ROLES_URLhttps://YOUR_DOMAIN/server/backend/intel/iaa/staffrolesStaff-role management link.
IAA_AUTHORIZE_URLhttps://YOUR_DOMAIN/server/backend/intel/iaa/public/authorizePublic authorization entry URL.
IAA_API_KEYYOUR_API_KEYBearer credential used by the bot.
IAA_API_SIGNING_SECRETYOUR_SIGNING_SECRETSeparate secret used for HMAC SHA256 signatures.
AUTH_LOG_CHANNEL_IDYOUR_CHANNEL_IDAuthorization log destination.
LOOKUP_LOG_CHANNEL_IDYOUR_CHANNEL_IDLookup audit log.
SECURITY_LOG_CHANNEL_IDYOUR_CHANNEL_IDSecurity event log.
REVIEW_LOG_CHANNEL_IDYOUR_CHANNEL_IDReview workflow log.
HTTP_TIMEOUT_SECONDSReasonable positive numberBackend request timeout.
PERMISSION_CACHE_SECONDSReasonable positive numberStaff-access cache duration.
COMMAND_SYNC_ON_STARTtrue or falseControls command synchronization during startup.
LOG_LEVELINFOApplication logging level.

buyer_config.json#

role_ids maps local staff functions to numeric Discord role IDs. workflow_channels maps workflow names to numeric Discord channel IDs. A value of 0 represents an unconfigured local role or channel where supported; configure required values before enabling the related workflow.

Workflow channelPurpose
BLACKLIST_REQUESTSDiscord destination for the blacklist requests workflow.
BLACKLISTED_SERVERSDiscord destination for the blacklisted servers workflow.
BLACKLISTED_USERSDiscord destination for the blacklisted users workflow.
NO_POACHDiscord destination for the no poach workflow.
POACHDiscord destination for the poach workflow.
RECRUITMENTSDiscord destination for the recruitments workflow.
MERGESDiscord destination for the merges workflow.
STAFF_INVESTIGATIONSDiscord destination for the staff investigations workflow.
ALT_PENDINGDiscord destination for the alt pending workflow.
ALT_LOGSDiscord destination for the alt logs workflow.
PUNISHMENT_COMMAND_CHANNELDiscord destination for the punishment command channel workflow.
PUNISHMENT_LOWDiscord destination for the punishment low workflow.
PUNISHMENT_HIGHDiscord destination for the punishment high workflow.

Back to top