12brendan3 / UC-Esports-Bot

A bot for the University of Cincinnati Esports Discord server. Written using discord.js.
MIT License
3 stars 0 forks source link

Experience system #25

Closed 12brendan3 closed 4 years ago

12brendan3 commented 4 years ago

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.