This commit is contained in:
JonnyBro 2021-12-29 22:48:05 +05:00
parent 2ad435ebfe
commit 60ff3d8a40

View file

@ -232,7 +232,7 @@ async function updateXp(msg, data) {
xpCooldown[msg.author.id] = toWait;
// Gets a random number between 10 and 5
const won = client.functions.randomNum(5, 10);
const won = this.client.functions.randomNum(5, 10);
const newXp = parseInt(points + won, 10);