mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
why
This commit is contained in:
parent
2ad435ebfe
commit
60ff3d8a40
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue