summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/models/Ban.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models/Ban.ts b/src/models/Ban.ts

index 23fc336c..0d8afd0e 100644 --- a/src/models/Ban.ts +++ b/src/models/Ban.ts
@@ -4,6 +4,7 @@ import db from "../util/Database"; export interface Ban extends Document { user_id: bigint; guild_id: bigint; + executor_id: BigInt, ip: string; reason?: string; } @@ -11,6 +12,7 @@ export interface Ban extends Document { export const BanSchema = new Schema({ user_id: { type: Types.Long, required: true }, guild_id: { type: Types.Long, required: true }, + executor_id: { type: BigInt, required: true }, reason: String, ip: String, // ? Should we store this in here, or in the UserModel? });