Activity Levels - CosmicCubicle/PariahBot GitHub Wiki
Activity Levels
Members earn XP for chatting, and level up as it builds. There's nothing to set up: it runs in every server the bot is in.
How XP works
- 15ā25 XP per message, chosen at random.
- At most once a minute per person. Messages within a minute of their last XP earn nothing, so spamming doesn't help.
- Bots don't earn XP.
- Each server is separate. XP and levels in one server don't affect another.
- Levels need more XP each time. Reaching level n takes
5n² + 50n + 100XP in total:
| Level | Total XP |
|---|---|
| 1 | 155 |
| 2 | 220 |
| 5 | 475 |
| 10 | 1,100 |
| 20 | 3,100 |
When someone reaches a new level, the bot posts "š @Member just reached level n!" in the channel they were chatting in.
Commands
Open to everyone:
| Command | Shows |
|---|---|
/level rank |
Your level, and your XP towards the next one |
/level rank user:@Someone |
Someone else's |
/level leaderboard |
The server's top 10 by XP |
Limits
- Level-ups can't be turned off, or sent to a different channel, yet.
- XP can't be reset or edited by command.
- There are no level roles. Reaching a level doesn't grant a role.
Permissions needed: Send Messages, in channels where people chat, for the level-up message. See Permissions.