2022-08-02 10:40:06 +02:00
|
|
|
const mongoose = require("mongoose");
|
|
|
|
|
let hm = new mongoose.Schema({
|
|
|
|
|
id: String,
|
|
|
|
|
name: String,
|
2022-08-06 18:16:45 +02:00
|
|
|
icon: String,
|
2022-08-02 10:40:06 +02:00
|
|
|
verified: Boolean,
|
|
|
|
|
description: String,
|
2022-08-08 21:32:55 +02:00
|
|
|
owners: [String],
|
2022-08-02 10:40:06 +02:00
|
|
|
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,
|
2022-08-02 10:40:06 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
module.exports = mongoose.model("bots", hm);
|