aboutsummaryrefslogtreecommitdiff
path: root/lib/models/instance/Level.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/instance/Level.ts')
-rw-r--r--lib/models/instance/Level.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/models/instance/Level.ts b/lib/models/instance/Level.ts
index e22d63b..27def46 100644
--- a/lib/models/instance/Level.ts
+++ b/lib/models/instance/Level.ts
@@ -18,6 +18,9 @@ export interface LevelModelCreationAttributes {
* Leveling information for a user in a guild.
*/
export class Level extends BaseModel<LevelModel, LevelModelCreationAttributes> implements LevelModel {
+ public static MAX_XP = 2147483647;
+ public static MAX_LEVEL = Level.convertXpToLevel(Level.MAX_XP);
+
/**
* The user's id.
*/