staff notifications

This commit is contained in:
indifferentketchup
2026-04-06 23:53:32 -05:00
parent 8c95b5eb8d
commit c5d7539677
12 changed files with 379 additions and 108 deletions

View File

@@ -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 }
}));