Documentation Index
Fetch the complete documentation index at: https://mintlify.com/developer51709/Noxie/llms.txt
Use this file to discover all available pages before exploring further.
config.json is Noxie’s single configuration file, loaded at startup by utils/helpers.py → load_config() and made available to every module that calls it. It covers four areas: Discord bot credentials, OxaPay donation settings, the SQLite database path, and the economy tuning parameters that control hunt rewards and color accents for CV2 containers. All fields have sensible defaults; the only value you must change before running is bot_token.
Default Configuration
config.json
Field Reference
Bot & Core
Your Discord bot token from the Discord Developer Portal. This value is overridden at runtime if the
NOXIE_TOKEN environment variable is set, so you can avoid storing credentials in the file entirely. Never commit a real token to version control.The always-active global prefix for all prefix-based commands. This prefix is permanent and cannot be removed or overridden by per-guild custom prefixes. The trailing space is intentional — commands are invoked as
noxie hunt, not noxiehunt.Path to the SQLite database file, relative to the project root. The directory is created automatically on first run if it does not exist. Four tables (
economy, inventory, badges, donations) are initialized at startup via init_db() in utils/economy.py. The fifth table (guild_prefixes) is initialized separately via init_prefix_table() in cogs/prefixes.py.Seconds a user must wait between hunts, enforced per-user per-guild. The
check_hunt_cooldown() function in utils/economy.py reads this value and returns the remaining seconds. Set to 0 to disable the cooldown entirely (useful during local testing).Donation (OxaPay)
Your OxaPay merchant key, obtained from the OxaPay dashboard. Required for the
/donate command to function. If this value is missing or left as the placeholder string, donation requests will fail at the API call stage.Base URL for the OxaPay REST API. Change this only if OxaPay publishes a new endpoint or you are routing requests through a proxy for testing.
Discord channel ID (as a string) where confirmed donations are logged. When set to
null, donation logging is disabled and only the user’s DM confirmation is sent. Set to a channel ID string — for example "1234567890123456789" — to enable server-side logging.CV2 Accent Colors
Noxie uses Discord Components V2 containers for all rich message layouts. Each rarity tier has its own accent color applied to the left-edge stripe of the container. Values are decimal integers, not hex strings.Accent color used for common-rarity hunt containers and any container that does not match a specific rarity. Decimal
7930727 = hex #790367 (a deep violet-purple).Accent color for rare-rarity hunt containers. Decimal
16766720 = hex #FFD700 (gold).Accent color for epic-rarity hunt containers. Decimal
10027263 = hex #9900FF (vivid purple).Accent color for legendary-rarity hunt containers. Decimal
16744272 = hex #FF7F50 (coral-orange).Accent color for mythic-rarity hunt containers. Decimal
16711782 = hex #FF0066 (hot magenta).Economy
A two-element array
[min, max] defining the base Glow Shard reward range for a common-rarity hunt. All higher rarity tiers multiply from this baseline using the multipliers in roll_rewards(). For example, a mythic drop at default settings yields between 5 × 50 = 250 and 25 × 50 = 1,250 Glow Shards.A two-element array
[min, max] defining the base Vibe Coin reward range for a common-rarity hunt. Scales with rarity multipliers identically to glow_shards_per_hunt. Vibe Coins are the rarer premium currency and have lower per-hunt yields than Glow Shards by design.Number of Glow Shards granted per 5 donation yields 2,500 Glow Shards.
Number of Vibe Coins granted per 5 donation at the default rate yields 250 Vibe Coins.
Environment Variables
TheNOXIE_TOKEN environment variable provides an alternative to storing the bot token in config.json, which is useful for containerized deployments or any setup where secrets should not live on disk.
| Variable | Overrides | Description |
|---|---|---|
NOXIE_TOKEN | bot_token | Set the Discord bot token without editing config.json. Takes precedence over the file value at startup. |
Accent color values throughout
config.json are stored as decimal integers, not hex strings. To convert: 7930727 decimal = 0x790367 hex. Most color pickers output hex — use int("790367", 16) in a Python shell to get the decimal equivalent before adding it to the config file.