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