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.
 
 
Natsuki/models/log.js

30 lines
1.1 KiB

const mongoose = require('mongoose');
const logSchema = new mongoose.Schema({
gid: {type: String, unique: true},
mdelete: {type: String, default: ''},
medit: {type: String, default: ''},
chnew: {type: String, default: ''},
chedit: {type: String, default: ''},
chdelete: {type: String, default: ''},
vcjoin: {type: String, default: ''},
vcleave: {type: String, default: ''},
servervcmute: {type: String, default: ''},
servervcdeafen: {type: String, default: ''},
kick: {type: String, default: ''},
ban: {type: String, default: ''},
mute: {type: String, default: ''},
warn: {type: String, default: ''},
giverole: {type: String, default: ''},
takerole: {type: String, default: ''},
addrole: {type: String, default: ''},
editrole: {type: String, default: ''},
deleterole: {type: String, default: ''},
serverjoin: {type: String, default: ''},
serverleave: {type: String, default: ''},
nickname: {type: String, default: ''},
username: {type: String, default: ''},
avatar: {type: String, default: ''}
});
module.exports = mongoose.model('log', logSchema);