🐛 fix ban Model Schema

This commit is contained in:
Flam3rboy
2021-02-21 22:52:41 +01:00
parent beb269f9c2
commit 0ab57bb6cd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +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 },
executor_id: { type: Types.Long, required: true },
reason: String,
ip: String, // ? Should we store this in here, or in the UserModel?
});