2021-02-05 22:01:01 +01:00
|
|
|
"use strict";
|
2021-02-16 21:16:56 +01:00
|
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
|
|
};
|
2021-02-05 22:01:01 +01:00
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2021-02-13 14:15:59 +01:00
|
|
|
exports.EmojiModel = exports.EmojiSchema = void 0;
|
|
|
|
const mongoose_1 = require("mongoose");
|
2021-02-16 21:16:56 +01:00
|
|
|
const Database_1 = __importDefault(require("../util/Database"));
|
2021-02-13 14:15:59 +01:00
|
|
|
exports.EmojiSchema = new mongoose_1.Schema({
|
2021-02-22 17:34:30 +01:00
|
|
|
id: { type: mongoose_1.Types.Long, required: true },
|
2021-02-13 14:15:59 +01:00
|
|
|
animated: Boolean,
|
|
|
|
available: Boolean,
|
|
|
|
guild_id: mongoose_1.Types.Long,
|
|
|
|
managed: Boolean,
|
|
|
|
name: String,
|
|
|
|
require_colons: Boolean,
|
|
|
|
url: String,
|
|
|
|
roles: [mongoose_1.Types.Long],
|
|
|
|
});
|
2021-02-16 21:16:56 +01:00
|
|
|
// @ts-ignore
|
|
|
|
exports.EmojiModel = Database_1.default.model("Emoji", exports.EmojiSchema, "emojis");
|
2021-02-05 22:01:01 +01:00
|
|
|
//# sourceMappingURL=Emoji.js.map
|