nyx

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

cooldown.js (366B)


      1 const { Schema, model } = require("mongoose");
      2 module.exports = model(
      3   "cooldown",
      4   new Schema({
      5     User: {
      6       type: String,
      7       required: true,
      8     },
      9     CMD: {
     10       type: String,
     11       default: "",
     12     },
     13     Time: {
     14       type: Number,
     15       default: 0,
     16     },
     17     Cooldown: {
     18       type: Number,
     19       default: 0,
     20     },
     21   })
     22 );