AFK Configuration
The table below is generated from the local JSON5 config templates found for this plugin. When dashboard-backed configuration is enabled, use the dashboard first because live settings may be stored in MongoDB instead of only reading local JSON5 files.
Config Files
- Source-backed docs were generated from the local plugin source and JSON5 templates.
- Plugin entry:
main.js - Config templates:
en-afk.json5,en-afk-lang.json5
Main Fields
| Field | Type | Default / Template Value | Notes |
|---|---|---|---|
enabled | boolean | true | Turns this part of the plugin on or off. |
defaultReason | string | I’m away right now. | Source-backed config field used by this plugin. |
clearOnMessage | boolean | true | Source-backed config field used by this plugin. |
notifyOncePerMessage | boolean | true | Source-backed config field used by this plugin. |
embeds.color | string | #5865F2 | Embed output shown in Discord. |
command.permissionLevel | string | everyone | Source-backed config field used by this plugin. |
Notes
- Keep Discord IDs as strings.
- After changing local JSON5 files, restart AthenaBot or reload the plugin so the config manager reads the new values.
- If a dashboard page exists for this plugin, prefer editing there during normal operation.