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

17 lines
638 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'},
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);