mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-22 20:10:40 +03:00
Akif9748
db61361a95
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
10 lines
No EOL
277 B
JavaScript
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; |