UNPKG

fixercord

Version:

its Simple Package Which catches and Save discord errors

12 lines (9 loc) 359 B
const mongoose = require("mongoose"); const reactionSchema = new mongoose.Schema({ guildid: { type: String }, msgid: { type: String}, error: { type: String}, content: { type: String }, /// Change the field name | add other Fields, do not forget the "," ;) count: {type: String } }); module.exports = mongoose.model('reaction', reactionSchema);