aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/PunishmentRole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models/PunishmentRole.ts')
-rw-r--r--src/lib/models/PunishmentRole.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/models/PunishmentRole.ts b/src/lib/models/PunishmentRole.ts
index 3326dca..927cf28 100644
--- a/src/lib/models/PunishmentRole.ts
+++ b/src/lib/models/PunishmentRole.ts
@@ -7,7 +7,6 @@ export interface PunishmentRoleModel {
id: string;
user: string;
guild: string;
- reason: string;
expires: Date;
modlog: string;
}
@@ -15,7 +14,6 @@ export interface PunishmentRoleModelCreationAttributes {
id?: string;
user: string;
guild: string;
- reason?: string;
expires?: Date;
modlog: string;
}
@@ -37,10 +35,6 @@ export class PunishmentRole
*/
guild: Snowflake;
/**
- * The reason they received a role (optional)
- */
- reason: string | null;
- /**
* The date at which this role expires and should be removed (optional)
*/
expires: Date | null;
@@ -74,10 +68,6 @@ export class PunishmentRole
type: DataTypes.DATE,
allowNull: true
},
- reason: {
- type: DataTypes.STRING,
- allowNull: true
- },
modlog: {
type: DataTypes.STRING,
allowNull: false,