config.json file contains all the bot’s operational settings. It must be placed in the root directory of your project.
File Structure
config.json
Basic Settings
The command prefix for the bot.
This should match the
PREFIX environment variable.Colors Configuration
General Settings
General bot behavior settings.
Timeout for advertisements in milliseconds. Default:
2147483647 (max int32).Number of characters needed to gain base XP. Default:
25.Users gain XP by chatting. Every 25 characters equals 1 base XP point.
XP scaling factor for level progression. Default:
0.5.Formula: xp = base_xp / (1 + scaleFactor * ln(level))Lower values make leveling faster, higher values make it slower.Complete Example
config.json
See the dedicated pages for Channels & Roles, Meal Plan, and RSS Feeds for detailed configuration of those sections.