staff notifications
This commit is contained in:
11
models.js
11
models.js
@@ -815,7 +815,8 @@ mongoose.model('Ticket', new mongoose.Schema({
|
||||
welcomeMessageId: String,
|
||||
claimerId: String,
|
||||
staffChannelId: String,
|
||||
parentCategoryId: String
|
||||
parentCategoryId: String,
|
||||
unclaimedReminderssent: { type: [Number], default: [] }
|
||||
}));
|
||||
|
||||
mongoose.model('TicketCounter', new mongoose.Schema({
|
||||
@@ -856,3 +857,11 @@ mongoose.model('StaffSettings', new mongoose.Schema({
|
||||
notifyDm: { type: Boolean, default: false },
|
||||
updatedAt: { type: Date, default: Date.now }
|
||||
}));
|
||||
|
||||
mongoose.model('StaffNotification', new mongoose.Schema({
|
||||
userId: { type: String, required: true, unique: true },
|
||||
guildId: String,
|
||||
channelId: String,
|
||||
cooldownHours: { type: Number, default: 1 },
|
||||
updatedAt: { type: Date, default: Date.now }
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user