Skip to main content

XP System Feature

XP System Feature

The XP System feature tracks and rewards user XP levels in the bot. Leveling up grants users BlahajCoin currency.

XP Gain

  • Users earn 1 XP for each message they send.

Leveling Up

  • Each user starts at level 1 and requires XP equal to their current level multiplied by 100 to level up.
  • Upon leveling up, users receive a reward of BlahajCoin currency equal to their new level.
  • Level progress is reset to 0 after leveling up.

Commands

/level

Command to check the XP level of a user.

  • Usage: /level [user]
    • user (optional): Mention the user to check the level of. If not provided, the command checks the level of the message author.

Example

/level @username

This will display the XP level and progress to the next level for the mentioned user.