User sends a message, they get XP, simple.
Has a one minute timeout and the XP rolled is random.
Original XP rolling function:
function rollXP(){ return Math.ceil(Math.random() * 5) }
Commands for getting your current XP and the leaderboard (top 10) are part of this.
User sends a message, they get XP, simple. Has a one minute timeout and the XP rolled is random. Original XP rolling function:
function rollXP(){ return Math.ceil(Math.random() * 5) }
Commands for getting your current XP and the leaderboard (top 10) are part of this.