aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models')
-rw-r--r--src/lib/models/Ban.ts2
-rw-r--r--src/lib/models/Global.ts2
-rw-r--r--src/lib/models/Guild.ts3
-rw-r--r--src/lib/models/Level.ts2
-rw-r--r--src/lib/models/ModLog.ts2
-rw-r--r--src/lib/models/Mute.ts2
-rw-r--r--src/lib/models/PunishmentRole.ts2
-rw-r--r--src/lib/models/StickyRole.ts2
8 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts
index 54ca6ae..eac03e2 100644
--- a/src/lib/models/Ban.ts
+++ b/src/lib/models/Ban.ts
@@ -1,7 +1,7 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Sequelize } from 'sequelize';
import { v4 as uuidv4 } from 'uuid';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export interface BanModel {
id: string;
diff --git a/src/lib/models/Global.ts b/src/lib/models/Global.ts
index 842f14b..7018fae 100644
--- a/src/lib/models/Global.ts
+++ b/src/lib/models/Global.ts
@@ -1,6 +1,6 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Optional, Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export interface GlobalModel {
environment: 'production' | 'development';
diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts
index 0fc3413..5980fb9 100644
--- a/src/lib/models/Guild.ts
+++ b/src/lib/models/Guild.ts
@@ -1,7 +1,6 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Optional, Sequelize } from 'sequelize';
-import { BushClient } from '../extensions/discord-akairo/BushClient';
-import { BaseModel } from './BaseModel';
+import { BaseModel, BushClient } from '..';
export interface GuildModel {
id: string;
diff --git a/src/lib/models/Level.ts b/src/lib/models/Level.ts
index e1f30f4..0daa61b 100644
--- a/src/lib/models/Level.ts
+++ b/src/lib/models/Level.ts
@@ -1,5 +1,5 @@
import { DataTypes, Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export interface LevelModel {
id: string;
diff --git a/src/lib/models/ModLog.ts b/src/lib/models/ModLog.ts
index 6261794..a1a3085 100644
--- a/src/lib/models/ModLog.ts
+++ b/src/lib/models/ModLog.ts
@@ -1,7 +1,7 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Sequelize } from 'sequelize';
import { v4 as uuidv4 } from 'uuid';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export enum ModLogType {
PERM_BAN = 'PERM_BAN',
diff --git a/src/lib/models/Mute.ts b/src/lib/models/Mute.ts
index 71a32e3..7ca40d5 100644
--- a/src/lib/models/Mute.ts
+++ b/src/lib/models/Mute.ts
@@ -1,7 +1,7 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Sequelize } from 'sequelize';
import { v4 as uuidv4 } from 'uuid';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export interface MuteModel {
id: string;
diff --git a/src/lib/models/PunishmentRole.ts b/src/lib/models/PunishmentRole.ts
index 927cf28..9753b57 100644
--- a/src/lib/models/PunishmentRole.ts
+++ b/src/lib/models/PunishmentRole.ts
@@ -1,7 +1,7 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Sequelize } from 'sequelize';
import { v4 as uuidv4 } from 'uuid';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export interface PunishmentRoleModel {
id: string;
diff --git a/src/lib/models/StickyRole.ts b/src/lib/models/StickyRole.ts
index a3928e7..d2dc9ac 100644
--- a/src/lib/models/StickyRole.ts
+++ b/src/lib/models/StickyRole.ts
@@ -1,6 +1,6 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { BaseModel } from '..';
export interface StickyRoleModel {
user: Snowflake;