nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

users.js (556B)


      1 const mongoose = require("mongoose");
      2 module.exports = mongoose.model(
      3   "user",
      4   new mongoose.Schema({
      5     User: String,
      6     Tier: {
      7       type: Number,
      8       default: 0,
      9     },
     10     Premium: {
     11       type: Boolean,
     12       default: false,
     13     },
     14     Blacklist: {
     15       type: Boolean,
     16       default: false,
     17     },
     18     Blacklist_Reason: {
     19       type: String,
     20       default: "null",
     21     },
     22     PremiumServers: {
     23       type: Array,
     24       default: [],
     25     },
     26     CommandUsed: {
     27       type: Number,
     28       default: 0,
     29     },
     30   })
     31 );