Files
BotsCord/models/server.js
T
2022-08-11 21:27:14 +02:00

19 lines
404 B
JavaScript

const mongoose = require("mongoose");
let hm = new mongoose.Schema({
id: String,
name: String,
description: {
type: String, maxLength: 100
},
owner: String,
long_description: String,
tags: [String],
premium: Boolean,
invite: String,
votes: Number,
bump: Date,
webhook: String,
bumps: Number,
});
module.exports = mongoose.model("servers", hm);