nyx/models/guilds.js

29 lines
489 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const mongoose = require("mongoose");
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: [],
},
Tips: {
type: Boolean,
default: true,
},
2021-06-12 12:53:51 +02:00
})
);