Skip to main content

Configuration

Here is some information about the configuration of the bot.

Configuration File

The config.js file is located in the same folder as the bot executable. This file contains all the configuration options for the bot. You can find a list of all the configuration options below.

Configuration Options

General

CommandDescription
tokenDiscord Bot token, You can obtain a bot token in the Discord Developers Portal make sure to use 1 bot per token, else you will get rate limited by Discord
licenseKeyYour account ID of your DBD account, more info about this here
guildIdThe Discord server ID where the bot will be used in
logChannelIdThe Discord channel ID where the bot will log all the commands in
debugModeWhether the bot should be in debug mode or not, this will enable more logging

Presence

All options inside the presence config option.

CommandDescription
statusThe status of the bot. (Options: Online, Idle, Dnd, Invisible )
typeThe status type. (Options: Playing, Streaming, Listening, Watching)
messageThe bot activity message that should be displayed

Colors

All options inside the colors config option.

CommandDescription
primaryThe primary color of the bot, this color is used for the embeds and the buttons. (Hex color code)
successThe success color of the bot, this color is used for the embeds and the buttons. (Hex color code)
errorThe error color of the bot, this color is used for the embeds and the buttons. (Hex color code)

Role Permissions

This section is located inside the rolePermissions config option. More information about this module can be found here.

Timed Commands

This section is located inside the timedCommands config option. More information about this module can be found here.

Rcon Commands

More information about this module can be found here.

Script Commands

This section is located inside the scriptCommands config option. More information about this module can be found here.

Servers

All options inside the servers config option.

CommandDescription
nameThe name of the server.
ipThe IP address of the server.
rconPortThe RCON port of the server.
passwordThe RCON password of the server.
tagsThe tags of the server. With tags you can select groups of serevrs labeled by the tag.