mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-24 17:55:56 +00:00
16 lines
681 B
JavaScript
16 lines
681 B
JavaScript
const mongoose = require("mongoose");
|
|
|
|
const ServerSettingsSchema = new mongoose.Schema({
|
|
guildId: { type: String, required: true, unique: true },
|
|
logChannelId: { type: String, required: false },
|
|
verifiedRoleName: { type: String, required: false },
|
|
verificationChannelId: { type: String, required: false },
|
|
generalChannelId: { type: String, required: false },
|
|
emailDomains: { type: [String], required: false },
|
|
actionItemsChannelId: { type: String, required: false },
|
|
actionItemsTargetChannelId: { type: String, required: false },
|
|
});
|
|
|
|
const ServerSettings = mongoose.model("ServerSettings", ServerSettingsSchema);
|
|
|
|
module.exports = ServerSettings;
|