nyx/models/guilds.js

64 lines
1.1 KiB
JavaScript
Raw Permalink 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,
},
Welcome: {
type: String,
default: "null",
},
Goodbye: {
type: String,
default: "null",
},
2021-06-24 09:53:19 +02:00
Log: { type: String, default: "null" },
LogWebhookID: { type: String, default: "null" },
LogWebhookToken: { type: String, default: "null" },
2021-09-21 01:51:56 +02:00
Starboard: {
type: String,
default: "null",
},
StarCount: {
type: Number,
default: 0,
},
Muterole: {
type: String,
default: "null",
},
Chatbot: {
type: String,
default: "null",
},
2021-06-12 12:53:51 +02:00
Premium: {
type: Boolean,
default: false,
},
Category: {
type: Array,
default: [],
},
Commands: {
type: Array,
default: [],
},
2021-07-13 05:17:39 +02:00
Level: {
type: Boolean,
default: false,
},
NSFW: {
type: Boolean,
default: false,
},
Tips: {
type: Boolean,
default: true,
},
2021-06-12 12:53:51 +02:00
})
);