nyx/models/warns.js

13 lines
208 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const mongoose = require("mongoose");
module.exports = mongoose.model(
"warn",
new mongoose.Schema({
Guild: String,
User: String,
Warns: {
type: Array,
default: [],
},
})
);