2024-09-25 23:07:02 +01:00
|
|
|
const mongoose = require("mongoose");
|
|
|
|
|
|
|
|
const ServerSettingsSchema = new mongoose.Schema({
|
|
|
|
guildId: { type: String, required: true, unique: true },
|
2024-10-15 11:06:55 +01:00
|
|
|
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 },
|
2024-10-29 00:04:55 +00:00
|
|
|
actionItemsChannelId: { type: String, required: false },
|
2024-10-29 09:12:44 +00:00
|
|
|
actionItemsTargetChannelId: { type: String, required: false },
|
2024-09-25 23:07:02 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
const ServerSettings = mongoose.model("ServerSettings", ServerSettingsSchema);
|
2024-10-29 00:04:55 +00:00
|
|
|
|
2024-09-25 23:07:02 +01:00
|
|
|
module.exports = ServerSettings;
|