diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-14 22:51:48 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-14 22:51:48 -0400 |
commit | d055e0dbb86ef7fd4ee96a1531b51181e825fb4b (patch) | |
tree | e2ed9e956f2d8167e7f225383f9917e66d2a2803 /src/lib/models | |
parent | 335f7c30994fc8c4e787f407dfd4c2de63b400e3 (diff) | |
download | tanzanite-d055e0dbb86ef7fd4ee96a1531b51181e825fb4b.tar.gz tanzanite-d055e0dbb86ef7fd4ee96a1531b51181e825fb4b.tar.bz2 tanzanite-d055e0dbb86ef7fd4ee96a1531b51181e825fb4b.zip |
made a few changes
Diffstat (limited to 'src/lib/models')
-rw-r--r-- | src/lib/models/Ban.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts index 66c1be9..8ba55ec 100644 --- a/src/lib/models/Ban.ts +++ b/src/lib/models/Ban.ts @@ -1,7 +1,8 @@ +import { Snowflake } from 'discord.js'; import { DataTypes, Sequelize } from 'sequelize'; -import { BaseModel } from './BaseModel'; -import * as Models from './'; import { v4 as uuidv4 } from 'uuid'; +import * as Models from './'; +import { BaseModel } from './BaseModel'; export interface BanModel { id: string; @@ -28,11 +29,11 @@ export class Ban extends BaseModel<BanModel, BanModelCreationAttributes> impleme /** * The user who is banned */ - user: string; + user: Snowflake; /** * The guild they are banned from */ - guild: string; + guild: Snowflake; /** * The reason they are banned (optional) */ |