From 13894f2beffc776a56ac03868613b4313dfb57bf Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 1 Nov 2021 15:40:31 -0400 Subject: convert to esm --- src/lib/models/ActivePunishment.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/lib/models/ActivePunishment.ts') 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', -- cgit