diff options
Diffstat (limited to 'dist/models/Guild.js')
-rw-r--r-- | dist/models/Guild.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dist/models/Guild.js b/dist/models/Guild.js index 63969ab7..4996d06a 100644 --- a/dist/models/Guild.js +++ b/dist/models/Guild.js @@ -1,7 +1,11 @@ "use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.GuildModel = exports.GuildSchema = void 0; const mongoose_1 = require("mongoose"); +const Database_1 = __importDefault(require("../util/Database")); exports.GuildSchema = new mongoose_1.Schema({ afk_channel_id: mongoose_1.Types.Long, afk_timeout: Number, @@ -40,5 +44,6 @@ exports.GuildSchema = new mongoose_1.Schema({ widget_channel_id: mongoose_1.Types.Long, widget_enabled: Boolean, }); -exports.GuildModel = mongoose_1.model("Guild", exports.GuildSchema, "guilds"); +// @ts-ignore +exports.GuildModel = Database_1.default.model("Guild", exports.GuildSchema, "guilds"); //# sourceMappingURL=Guild.js.map \ No newline at end of file |