! OwOMizu Errors
← All errors
medium config

Cog file not found for enabled feature

Description

Bot starts but a feature set to enabled: true in settings.json silently does nothing.

Cause

The cog file does not exist in the cogs/ folder, or it is not registered in client.py commands_dict. OwOMizu skips loading cogs that are not mapped.

Fix

Ensure the cog file exists in cogs/, is registered in config/misc.json command_info, config/settings.json commands block, and bot/client.py refresh_commands_dict(). All 3 registrations are required.

Code change

Before
settings.json:
"army": { "enabled": true }

cogs/army.py  ->  NOT FOUND
After
cogs/army.py  ->  EXISTS
config/misc.json  ->  command_info["army"]
settings.json  ->  commands.army.enabled
client.py  ->  refresh_commands_dict()