This repository has been archived on 2024-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
discord.js-rr-bot/Src/Functions/mongodb-reaction-role/models/schema.js
2022-06-18 23:28:38 -04:00

12 lines
359 B
JavaScript

const mongoose = require("mongoose");
const reactionSchema = new mongoose.Schema({
guildid: { type: String },
msgid: { type: String},
roleid: { type: String},
reaction: { type: String }, /// Change the field name | add other Fields, do not forget the "," ;)
dm: {type: Boolean }
});
module.exports = mongoose.model('reaction', reactionSchema);