aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Modlog.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models/Modlog.ts')
-rw-r--r--src/lib/models/Modlog.ts14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/lib/models/Modlog.ts b/src/lib/models/Modlog.ts
index 7e24ba6..3917a88 100644
--- a/src/lib/models/Modlog.ts
+++ b/src/lib/models/Modlog.ts
@@ -32,10 +32,7 @@ export interface ModlogModelCreationAttributes {
guild: string;
}
-export class Modlog
- extends BaseModel<ModlogModel, ModlogModelCreationAttributes>
- implements ModlogModel
-{
+export class Modlog extends BaseModel<ModlogModel, ModlogModelCreationAttributes> implements ModlogModel {
id: string;
type: ModlogType;
user: string;
@@ -54,14 +51,7 @@ export class Modlog
defaultValue: uuidv4
},
type: {
- type: new DataTypes.ENUM(
- 'BAN',
- 'TEMPBAN',
- 'MUTE',
- 'TEMPMUTE',
- 'KICK',
- 'WARN'
- ),
+ type: new DataTypes.ENUM('BAN', 'TEMPBAN', 'MUTE', 'TEMPMUTE', 'KICK', 'WARN'),
allowNull: false
},
user: {