Skip to content

Core Configuration

alsi-lawr edited this page Jul 21, 2026 · 2 revisions

Core configuration

These settings live under BlokeBot unless noted otherwise.

Setting Shipped value Rule
Logging:LogLevel:Default Information Standard ASP.NET logging level
Logging:LogLevel:Microsoft.EntityFrameworkCore Warning Standard category override
Logging:LogLevel:Microsoft.AspNetCore Warning Standard category override
AllowedHosts * Standard ASP.NET host filtering
BotAdmins [] Empty entries are ignored
BotStateChangeCooldownSeconds 5 Must be zero or greater
CustomCommands:MinimumCooldownSeconds 5 Must be zero or greater
CustomCommands:AnnouncementSchedulerTickSeconds 10 Must be greater than zero
Points:MinimumGamblingCooldownSeconds 5 Must be zero or greater
DatabasePath Platform state directory plus blokebot.db An explicit value overrides --data-dir for this file

Example environment overrides:

export BlokeBot__BotAdmins__0=channel_owner
export BlokeBot__BotStateChangeCooldownSeconds=5
export BlokeBot__DatabasePath=/srv/blokebot/blokebot.db

BlokeBot options are validated during startup. Custom-bot Data Protection keys are not a configuration setting; BlokeBot manages them in private persistent application state.

Clone this wiki locally