style: run format:apply and cleanup unused imports

This commit is contained in:
2026-01-13 18:36:40 -03:00
parent 9b4d1cbe24
commit af7c25e6ec
+2 -4
View File
@@ -1,8 +1,6 @@
import {
Attributes,
DataTypes,
Model,
ModelAttributes,
ModelStatic,
Sequelize
} from 'sequelize';
@@ -43,7 +41,7 @@ export class DatabaseManager {
}
public async getUser(userId: string) {
if (!this.userData) throw new Error("Database not initialized");
if (!this.userData) throw new Error('Database not initialized');
const [user] = await this.userData.findOrCreate({
where: { user_id: userId },
@@ -53,7 +51,7 @@ export class DatabaseManager {
}
public async getGuild(guildId: string) {
if (!this.guildData) throw new Error("Database not initialized");
if (!this.guildData) throw new Error('Database not initialized');
const [guild] = await this.guildData.findOrCreate({
where: { guild_id: guildId },