Skip to content

Core Configuration

alsi-lawr edited this page Jul 15, 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 blokebot.db Use an absolute durable path in production

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. Deployment-specific storage defaults are listed in State and secrets.

Clone this wiki locally