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/user.js

19 lines
732 B

const mongoose = require('mongoose');
const UserSchema = new mongoose.Schema({
uid: {type: String, unique: true},
commands: {type: Number, default: 0},
statusmsg: {type: String, default: ''},
statustype: {type: String, default: ''},
statusclearmode: {type: String, default: 'auto'},
statusclearat: {type: Date, default: null},
statussetat: {type: Date, default: null},
support: {type: Boolean, default: false},
staff: {type: Boolean, default: false},
admin: {type: Boolean, default: false},
developer: {type: Boolean, default: false},
blacklisted: {type: Boolean, default: false},
donator: {type: Boolean, default: false}
});
module.exports = mongoose.model("user", UserSchema);