1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.InviteModel = exports.InviteSchema = void 0;
const mongoose_1 = require("mongoose");
const Database_1 = __importDefault(require("../util/Database"));
exports.InviteSchema = new mongoose_1.Schema({
code: String,
temporary: Boolean,
uses: Number,
max_uses: Number,
max_age: Number,
created_at: Date,
guild_id: String,
channel_id: String,
inviter_id: String,
// ? What the fucking shit is this
target_user_id: String,
target_user_type: Number,
});
// @ts-ignore
exports.InviteModel = Database_1.default.model("Invite", exports.InviteSchema, "invites");
//# sourceMappingURL=Invite.js.map
|