summary refs log tree commit diff
path: root/dist/models/Ban.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 23:55:26 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 23:55:26 +0200
commit011251868d4ec0c4d6cda4509d38e09d7d331cf2 (patch)
tree2c4aa589d4fee812e116edca71680071e3b6b2ef /dist/models/Ban.js
parent:art: remove _id and __v from response (diff)
parentMerge pull request #2 from afeuerstein/main (diff)
downloadserver-011251868d4ec0c4d6cda4509d38e09d7d331cf2.tar.xz
Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main
Diffstat (limited to 'dist/models/Ban.js')
-rw-r--r--dist/models/Ban.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/dist/models/Ban.js b/dist/models/Ban.js
deleted file mode 100644

index 0b7f30b5..00000000 --- a/dist/models/Ban.js +++ /dev/null
@@ -1,18 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BanModel = exports.BanSchema = void 0; -const mongoose_1 = require("mongoose"); -const Database_1 = __importDefault(require("../util/Database")); -exports.BanSchema = new mongoose_1.Schema({ - user_id: { type: String, required: true }, - guild_id: { type: String, required: true }, - executor_id: { type: String, required: true }, - reason: String, - ip: String, -}); -// @ts-ignore -exports.BanModel = Database_1.default.model("Ban", exports.BanSchema, "bans"); -//# sourceMappingURL=Ban.js.map \ No newline at end of file