zyno-bot-addons
Advanced tools
Comparing version 1.0.17 to 1.0.18
{ | ||
"name": "zyno-bot-addons", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "Create easily addons for Zyno Bot", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,3 +18,3 @@ class Level{ | ||
guildXP.xp = amount; | ||
while(client.getXPForLevel(guildXP.level) < guildXP.xp){ | ||
while(client.getXPForLevel(guildXP.level, guildMember.guild.id) < guildXP.xp){ | ||
guildXP.level += 1; | ||
@@ -24,3 +24,3 @@ } | ||
} else if(amount < guildXP.xp) { | ||
while(client.getXPForLevel(guildXP.level) > guildXP.xp){ | ||
while(client.getXPForLevel(guildXP.level, guildMember.guild.id) > guildXP.xp){ | ||
guildXP.level -= 1; | ||
@@ -48,3 +48,3 @@ } | ||
guildXP.level = amount; | ||
guildXP.xp = client.getXPForLevel(amount); | ||
guildXP.xp = client.getXPForLevel(amount, guildMember.guild.id); | ||
userXP.push(guildXP); | ||
@@ -51,0 +51,0 @@ guildIndex = userXP.indexOf(guildXP); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
362356