akf-forum/models/Ban.js
Akif9748 db61361a95 Major update named as minor!
Forum Setup page,
edit forum config w/api
ban user's all ips,
secretmodel deleted,
/undelete is disabled
and better themes
if user reacted a message, view it
fixs for reactions of messages
discord auth in config.json
2022-09-23 23:10:13 +03:00

10 lines
No EOL
277 B
JavaScript

const mongoose = require("mongoose")
const schema = new mongoose.Schema({
ip: { type: String, unique: true },
reason: { type: String, default: "No reason given" },
authorID: { type: String }
});
const model = mongoose.model('ban', schema);
module.exports = model;