A per-group leveling and experience system for Alden Bot.
- Isolated Progression: Experience and levels are tracked per-group. Direct messages are ignored.
- Dynamic EXP: Configurable min/max EXP bounds gained per message.
- Cooldowns: Prevents spam-leveling via message cooldowns.
- Economy Integration: Soft-depends on
EconomyAPI. If available, users receive coin rewards upon leveling up. - Image Generation: Generates a visually appealing rank card using
@napi-rs/canvas.
| Command | Aliases | Permission | Description |
|---|---|---|---|
/rank |
/level |
chatlevels.use |
Displays the user's current level, EXP progress, and rank within the group. |
Settings are automatically generated in data/ChatLevels/config.json on first run:
{
"expMin": 15,
"expMax": 25,
"cooldownMs": 15000
}expMin/expMax: The randomized amount of EXP awarded per valid message.cooldownMs: Time required between messages to gain EXP (in milliseconds).
chatlevels.use- Granted to users by default (level 0). Controls access to the/rankcommand.