20 lines
515 B
JavaScript
20 lines
515 B
JavaScript
const { Schema, model } = require("mongoose");
|
|
|
|
const rule7 = new Schema({
|
|
owner: { type: String },
|
|
serverId: { type: String },
|
|
channelId: { type: String },
|
|
messageId: { type: String },
|
|
avatars: { type: Object },
|
|
votes: { type: Object },
|
|
users: { type: Object },
|
|
time: { type: Number },
|
|
now: { type: Number },
|
|
desc: { type: String },
|
|
options: { type: Object },
|
|
threadId: { type: String },
|
|
reportId: { type: String },
|
|
});
|
|
|
|
module.exports = model("rule7", rule7);
|