You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.0 KiB
25 lines
1.0 KiB
const mongoose = require('mongoose');
|
|
|
|
const guildSchema = new mongoose.Schema({
|
|
gid: {type: String, unique: true},
|
|
staffrole: {type: String, default: ''},
|
|
vip: {type: Boolean, default: false},
|
|
wch: {type: String, default: ''},
|
|
lch: {type: String, default: ''},
|
|
logch: {type: String, default: ''},
|
|
chests: {type: Boolean, default: false},
|
|
autoquote: {type: Boolean, default: true},
|
|
welcomerole: {type: String, default: ''},
|
|
joinrole: {type: String, default: ''},
|
|
cooldowns: {type: Boolean, default: false},
|
|
levelmessage: {type: String, default: '**{{u}}** has reached level **{{l}}**! :tada:'},
|
|
levelmessages: {type: Boolean, default: false},
|
|
prefix: {type: String, default: ''},
|
|
nostatus: {type: Boolean, default: false},
|
|
starchannel: {type: String, default: ''},
|
|
starreq: {type: Number, default: 5},
|
|
starsenabled: {type: Boolean, default: false},
|
|
blacklisted: {type: Boolean, default: false}
|
|
});
|
|
|
|
module.exports = mongoose.model("guild", guildSchema); |