2021-02-05 22:01:01 +01:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2021-02-13 14:15:59 +01:00
|
|
|
exports.RoleModel = exports.RoleSchema = void 0;
|
|
|
|
const mongoose_1 = require("mongoose");
|
|
|
|
exports.RoleSchema = new mongoose_1.Schema({
|
|
|
|
id: mongoose_1.Types.Long,
|
2021-02-13 23:57:02 +01:00
|
|
|
guild_id: mongoose_1.Types.Long,
|
2021-02-13 14:15:59 +01:00
|
|
|
color: Number,
|
|
|
|
hoist: Boolean,
|
|
|
|
managed: Boolean,
|
|
|
|
mentionable: Boolean,
|
|
|
|
name: String,
|
|
|
|
permissions: mongoose_1.Types.Long,
|
|
|
|
position: Number,
|
|
|
|
tags: {
|
|
|
|
bot_id: mongoose_1.Types.Long,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
exports.RoleModel = mongoose_1.model("Role", exports.RoleSchema, "roles");
|
2021-02-05 22:01:01 +01:00
|
|
|
//# sourceMappingURL=Role.js.map
|