aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Ban.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-04 15:25:32 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-04 15:25:32 -0400
commitcf564dbb6435886f97e2e9870363144386af368d (patch)
treed535cd73f24a145ca9d7ce1a0e1174cba0d38b31 /src/lib/models/Ban.ts
parent34f0d1d3ff3e2a90193c9a4d4de29d8335160d6a (diff)
downloadtanzanite-cf564dbb6435886f97e2e9870363144386af368d.tar.gz
tanzanite-cf564dbb6435886f97e2e9870363144386af368d.tar.bz2
tanzanite-cf564dbb6435886f97e2e9870363144386af368d.zip
mute command
Diffstat (limited to 'src/lib/models/Ban.ts')
-rw-r--r--src/lib/models/Ban.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts
index f4463b8..54ca6ae 100644
--- a/src/lib/models/Ban.ts
+++ b/src/lib/models/Ban.ts
@@ -7,7 +7,6 @@ export interface BanModel {
id: string;
user: string;
guild: string;
- reason: string;
expires: Date;
modlog: string;
}
@@ -15,7 +14,6 @@ export interface BanModelCreationAttributes {
id?: string;
user: string;
guild: string;
- reason?: string;
expires?: Date;
modlog: string;
}
@@ -34,10 +32,6 @@ export class Ban extends BaseModel<BanModel, BanModelCreationAttributes> impleme
*/
guild: Snowflake;
/**
- * The reason they are banned (optional)
- */
- reason: string | null;
- /**
* The date at which this ban expires and should be unbanned (optional)
*/
expires: Date | null;
@@ -71,10 +65,6 @@ export class Ban extends BaseModel<BanModel, BanModelCreationAttributes> impleme
type: DataTypes.DATE,
allowNull: true
},
- reason: {
- type: DataTypes.STRING,
- allowNull: true
- },
modlog: {
type: DataTypes.STRING,
allowNull: false,