aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/ActivePunishment.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
commit13894f2beffc776a56ac03868613b4313dfb57bf (patch)
tree028c229b42c2a74a3c511386f594385d3ed77dd5 /src/lib/models/ActivePunishment.ts
parent914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff)
downloadtanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip
convert to esm
Diffstat (limited to 'src/lib/models/ActivePunishment.ts')
-rw-r--r--src/lib/models/ActivePunishment.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/models/ActivePunishment.ts b/src/lib/models/ActivePunishment.ts
index 83ada29..23dd33b 100644
--- a/src/lib/models/ActivePunishment.ts
+++ b/src/lib/models/ActivePunishment.ts
@@ -1,7 +1,10 @@
import { type Snowflake } from 'discord.js';
import { nanoid } from 'nanoid';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+
+const { DataTypes } = (await import('sequelize')).default
+
export enum ActivePunishmentType {
BAN = 'BAN',