2021-06-12 12:53:51 +02:00
|
|
|
const mongoose = require("mongoose");
|
2021-11-18 18:56:42 +01:00
|
|
|
const prefix = require("../config").prefix;
|
2021-06-12 12:53:51 +02:00
|
|
|
module.exports = mongoose.model(
|
|
|
|
"guild",
|
|
|
|
new mongoose.Schema({
|
|
|
|
Guild: String,
|
|
|
|
Prefix: {
|
|
|
|
type: String,
|
|
|
|
default: prefix,
|
|
|
|
},
|
|
|
|
Premium: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
Category: {
|
|
|
|
type: Array,
|
|
|
|
default: [],
|
|
|
|
},
|
|
|
|
Commands: {
|
|
|
|
type: Array,
|
|
|
|
default: [],
|
|
|
|
},
|
2021-11-18 18:56:42 +01:00
|
|
|
Tips: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true,
|
|
|
|
},
|
2021-06-12 12:53:51 +02:00
|
|
|
})
|
|
|
|
);
|