aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models')
-rw-r--r--src/lib/models/Ban.ts3
-rw-r--r--src/lib/models/Guild.ts3
-rw-r--r--src/lib/models/Modlog.ts3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts
index c30c4c5..3ce9c06 100644
--- a/src/lib/models/Ban.ts
+++ b/src/lib/models/Ban.ts
@@ -22,7 +22,8 @@ export interface BanModelCreationAttributes {
export class Ban
extends BaseModel<BanModel, BanModelCreationAttributes>
- implements BanModel {
+ implements BanModel
+{
/**
* The ID of this ban (no real use just for a primary key)
*/
diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts
index e4e317f..1cb3abb 100644
--- a/src/lib/models/Guild.ts
+++ b/src/lib/models/Guild.ts
@@ -10,7 +10,8 @@ export type GuildModelCreationAttributes = Optional<GuildModel, 'prefix'>;
export class Guild
extends BaseModel<GuildModel, GuildModelCreationAttributes>
- implements GuildModel {
+ implements GuildModel
+{
id: string;
prefix: string;
static initModel(seqeulize: Sequelize, client: BotClient): void {
diff --git a/src/lib/models/Modlog.ts b/src/lib/models/Modlog.ts
index 6dd5e26..7efeeed 100644
--- a/src/lib/models/Modlog.ts
+++ b/src/lib/models/Modlog.ts
@@ -34,7 +34,8 @@ export interface ModlogModelCreationAttributes {
export class Modlog
extends BaseModel<ModlogModel, ModlogModelCreationAttributes>
- implements ModlogModel {
+ implements ModlogModel
+{
id: string;
type: ModlogType;
user: string;