Code & storage
bottly_config.json
The schema that turns your code into a configurable product.
Schema versus values
bottly_config.json describes the form; it is not the buyer's saved values. Its top-level shape is { "version": 1, "settings": { ... } }. Each setting has a type, label and explicit editable flag. Use a description to explain where a value comes from and what happens when it is empty.Choose the type
Use channel/role/user for Discord IDs, number for numeric quantities, boolean for toggles, select for a fixed set, color for six-digit hex, and text/textarea/url/emoji for their intended values. Select options need unique values; number ranges need a minimum no greater than the maximum.
Visibility and compatibility
Mark buyer controls editable and keep internal settings internal. Do not equate hidden UI with secure credential storage. Use the product's supported secret mechanism for credentials. Keep keys stable across versions; changing a label is safer than renaming a key.
A complete check
Validate the schema, fill the generated form as a buyer, and test that the actual flow or code reads the expected value. See [Copyable example](/docs/config-examples).