Skip to content

Commit

Permalink
probably fixed something
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon1320 committed Sep 10, 2018
1 parent 1649eb9 commit 9626a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ client.on("message", message => {
xp = 1;
} else {

xp = Math.round(message.content.length / 10);
xp = Math.min(25, Math.round(message.content.length / 10));
}

user.xp += xp;
Expand Down

0 comments on commit 9626a4e

Please sign in to comment.