aboutsummaryrefslogtreecommitdiff
path: root/lib/models/instance/Guild.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/instance/Guild.ts')
-rw-r--r--lib/models/instance/Guild.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/models/instance/Guild.ts b/lib/models/instance/Guild.ts
index f258d48..1d645e9 100644
--- a/lib/models/instance/Guild.ts
+++ b/lib/models/instance/Guild.ts
@@ -1,9 +1,9 @@
+import config from '#config';
import { ChannelType, Constants, type Snowflake } from 'discord.js';
-import { type Sequelize } from 'sequelize';
+import { DataTypes, type Sequelize } from 'sequelize';
import { BadWordDetails } from '../../automod/AutomodShared.js';
import { type BushClient } from '../../extensions/discord-akairo/BushClient.js';
import { BaseModel } from '../BaseModel.js';
-const { DataTypes } = (await import('sequelize')).default;
export interface GuildModel {
id: Snowflake;
@@ -199,8 +199,6 @@ const asGuildSetting = <T>(et: { [K in keyof T]: PartialBy<GuildSetting, 'config
return et as { [K in keyof T]: GuildSetting };
};
-const { default: config } = await import('../../../config/options.js');
-
export const guildSettingsObj = asGuildSetting({
prefix: {
name: 'Prefix',