From 0ab57bb6cd92dbd8c90f716645139d691de7493d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 21 Feb 2021 22:52:41 +0100 Subject: :bug: fix ban Model Schema --- dist/models/Ban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/models/Ban.js') diff --git a/dist/models/Ban.js b/dist/models/Ban.js index 501e1508..abb0a4e2 100644 --- a/dist/models/Ban.js +++ b/dist/models/Ban.js @@ -9,7 +9,7 @@ const Database_1 = __importDefault(require("../util/Database")); exports.BanSchema = new mongoose_1.Schema({ user_id: { type: mongoose_1.Types.Long, required: true }, guild_id: { type: mongoose_1.Types.Long, required: true }, - executor_id: { type: BigInt, required: true }, + executor_id: { type: mongoose_1.Types.Long, required: true }, reason: String, ip: String, }); -- cgit 1.5.1