nyx

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

weapons.js (546B)


      1 // Do we still need this ?
      2 
      3 const mongoose = require("mongoose");
      4 module.exports = mongoose.model(
      5   "weapons",
      6   new mongoose.Schema({
      7     Categories: {
      8       type: Array,
      9       default: [],
     10     },
     11     Primary: {
     12       type: Array,
     13       default: [],
     14     },
     15     Secondary: {
     16       type: Array,
     17       default: [],
     18     },
     19     Equipment: {
     20       type: Array,
     21       default: [],
     22     },
     23     OperatorSkill: {
     24       type: Array,
     25       default: [],
     26     },
     27     Perk: {
     28       type: Array,
     29       default: [],
     30     },
     31   })
     32 );