Skip to content
Alec Jensen edited this page Jan 25, 2024 · 5 revisions

The configuration for kidney bot is stored in config.json in the root project directory. Manual configuration is not required, you can run the setup.py file for easier configuration.

token (required)

Type: str

Token is your Discord bot token.

dbstring (required)

Type: str

Connection string for MongoDB database.

ownerid (required)

Type: int | list[int]

The user ID of the bot owner. Can either be specified as "ownerid": 000000000000000000, or "ownerid": [000000000000000000]

report_channel (required)

Type: int

The channel ID for user reports.

error_channel (required)

Type: int

The channel ID for error reporting.

perspective_api_key (optional)

Type: str

Your Perspective API key. If not provided, AI message filtering features are disabled.

prefix (optional)

Type: str

The prefix to use for prefix commands. (there are no user-facing prefix commands)

langfile (optional)

Type: str

The path to the language file.

heartbeat_url (optional)

Type: str

The bot will send POST requests to this URL every 30 seconds. This can be used for heartbeat monitoring services.