Add mute model

master
Kit Kasune 4 years ago
parent adbb1bd680
commit a084d2dfd8
  1. 10
      models/mute.js

@ -0,0 +1,10 @@
const mongoose = require('mongoose');
const Mute = new mongoose.Schema({
uid: {type: String, unique: true},
until: String,
mutedBy: String,
reason: {type: String, default: ''}
});
module.exports = mongoose.model('mute', Mute);
Loading…
Cancel
Save