2021-06-14 18:54:02 +02:00
|
|
|
const mongoose = require("mongoose");
|
|
|
|
module.exports = mongoose.model(
|
|
|
|
"status",
|
|
|
|
new mongoose.Schema({
|
|
|
|
Bot: {
|
|
|
|
type: String,
|
|
|
|
default: "null",
|
|
|
|
},
|
|
|
|
Status: { type: String, default: "false" },
|
2021-07-13 05:17:39 +02:00
|
|
|
Guilds: {
|
|
|
|
type: String,
|
|
|
|
default: "null",
|
|
|
|
},
|
|
|
|
Users: {
|
|
|
|
type: String,
|
|
|
|
default: "null",
|
|
|
|
},
|
|
|
|
Commands: {
|
|
|
|
type: Array,
|
|
|
|
default: [],
|
|
|
|
},
|
2021-06-14 18:54:02 +02:00
|
|
|
})
|
|
|
|
);
|