nyx/models/cooldown.js
2023-10-31 01:39:28 +00:00

22 lines
366 B
JavaScript

const { Schema, model } = require("mongoose");
module.exports = model(
"cooldown",
new Schema({
User: {
type: String,
required: true,
},
CMD: {
type: String,
default: "",
},
Time: {
type: Number,
default: 0,
},
Cooldown: {
type: Number,
default: 0,
},
})
);