nyx/models/cooldown.js

23 lines
366 B
JavaScript
Raw Normal View History

2023-10-31 02:39:28 +01:00
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,
},
})
);