UNPKG

djs-systems

Version:

The simplest way to build complex Discord bots.

21 lines (20 loc) 774 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const mongoose_1 = __importDefault(require("mongoose")); const GiveawaySchema = new mongoose_1.default.Schema({ message: { type: String }, prize: { type: String }, started: { type: Number }, entry: { type: Array() }, entered: { type: Number }, winCount: { type: Number }, requirements: { type: Object }, endTime: { type: String }, host: { type: String }, description: { type: String }, embeds: { type: Object } }); exports.default = mongoose_1.default.model('Giveaway-System', GiveawaySchema);