Skip to content
Alec Jensen edited this page Dec 3, 2024 · 8 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 initial setup.

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] (Single Discord User ID or list of IDs)

The user ID of the bot owner. Can either be specified as "ownerid": 000000000000000000 (for one owner), or "ownerid": [000000000000000000, 000000000000000001] (for multiple owners)

report_channel (required)

Type: int (Discord Channel ID)

The channel ID for user reports.

error_channel (required)

Type: int (Discord Channel ID)

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.

user_count_channel (optional)

Type: int (Discord Channel ID)

The bot will format the name of this channel to reflect the total number of users in all servers the bot is in.