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,
|
|
|
|
|
votes: Number,
|
2022-08-10 12:23:19 +02:00
|
|
|
token: String,
|
2022-08-02 10:40:06 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
module.exports = mongoose.model("bots", hm);
|