← Back to Utilities Bot

Configuration reference

Copy config.example.json to config.json with npm run setup. Restart the bot after changing this file. IDs must be Discord IDs from your application and server. Empty optional IDs disable those destinations or features.

SettingPurpose
nameBot name shown in audit reasons, help and notices.
applicationId, guildIdYour Discord application and one server. They must match the signed licence.
ownerIdsUser IDs allowed to run owner prefix commands. Keep at least one.
prefixOwner command prefix, comma by default.
databaseFileRelative SQLite path inside the package. This edition runs one bot against one database.
roles.moderatorRole allowed to warn and timeout members and run giveaways.
roles.administratorRole allowed to kick, ban, unban, announce and change cases.
roles.ticketHandlerAdditional role allowed to claim and close tickets.
roles.newMemberOptional role assigned to new human members.
permissions.*Minimum bot access for moderation, case changes, giveaways and announcements. Each value is moderator, admin or owner.
channels.moderationLogPrivate log for cases and automod events.
channels.ticketLogPrivate transcript log; required to close tickets.
channels.reportsPrivate report destination; required for /report.
channels.welcomeOptional public welcome channel.
categories.ticketsParent category for private tickets; required to open them.
tickets.panelTitle, tickets.panelDescription, tickets.channelPrefixTicket panel copy and ticket channel name prefix.
welcome.messageSupports {member} and {server} placeholders.
automod.blockedHostsExact domains or their subdomains to delete. Do not include whole platforms without a good reason.
automod.messageLimit, automod.windowSecondsBasic message-rate threshold for ordinary members.
giveaways.enabledEnables or disables /giveaway.

The token is the only value in .env. The licence is a separate signed license.json; do not edit it. Owner and role permissions are checked by the bot. A Discord Administrator bit alone does not put someone on the owner list.