From d055e0dbb86ef7fd4ee96a1531b51181e825fb4b Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 14 Jun 2021 22:51:48 -0400 Subject: made a few changes --- src/lib/models/Ban.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/lib/models') 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 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) */ -- cgit