djs-systems
Version:
The simplest way to build complex Discord bots.
14 lines (13 loc) • 549 B
JavaScript
;
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 SuggestionSchema = new mongoose_1.default.Schema({
message: { type: String },
author: { type: String },
votes: { type: Array() },
progress: { type: Object }
});
exports.default = mongoose_1.default.model('Suggest-System', SuggestionSchema);