diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-26 13:43:22 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-26 13:43:22 -0400 |
commit | b7f254cd426138880318d2ba6a06e8e86ae407bf (patch) | |
tree | ad624b5dacba2dc1ee9e445e00ffc1a7926fcd85 /src/lib/models/Level.ts | |
parent | 85d24271a00d9363fe022ebb8e132bd506c712ba (diff) | |
download | tanzanite-b7f254cd426138880318d2ba6a06e8e86ae407bf.tar.gz tanzanite-b7f254cd426138880318d2ba6a06e8e86ae407bf.tar.bz2 tanzanite-b7f254cd426138880318d2ba6a06e8e86ae407bf.zip |
finished feature command and did some refactoring
Diffstat (limited to 'src/lib/models/Level.ts')
-rw-r--r-- | src/lib/models/Level.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/models/Level.ts b/src/lib/models/Level.ts index ad64747..0960d4f 100644 --- a/src/lib/models/Level.ts +++ b/src/lib/models/Level.ts @@ -1,6 +1,7 @@ import { Snowflake } from 'discord.js'; import { DataTypes, Sequelize } from 'sequelize'; import { BaseModel } from './BaseModel'; +import { NEVER_USED } from './__helpers'; export interface LevelModel { user: Snowflake; @@ -14,8 +15,6 @@ export interface LevelModelCreationAttributes { xp?: number; } -const NEVER_USED = 'This should never be executed'; - export class Level extends BaseModel<LevelModel, LevelModelCreationAttributes> { /** * The user's id. |