Files
BotsCord/models/bot.js
T

23 lines
539 B
JavaScript
Raw Normal View History

const mongoose = require("mongoose");
let hm = new mongoose.Schema({
id: String,
name: String,
2022-08-06 18:16:45 +02:00
icon: String,
verified: Boolean,
description: String,
2022-08-08 21:32:55 +02:00
owners: [String],
long_description: String,
banner: String,
2022-08-03 11:50:13 +02:00
tags: [String],
premium: Boolean,
2022-08-08 21:32:55 +02:00
servers: String,
users: String,
2022-08-13 08:26:49 +02:00
votes: { type: Number, default: 0 },
2022-08-10 12:23:19 +02:00
token: String,
2022-08-16 16:51:42 +02:00
country: Object,
analytics: Object,
analytics_visitors: Number,
analytics_invites: Number,
});
module.exports = mongoose.model("bots", hm);