personal queue

This commit is contained in:
indifferentketchup
2026-03-28 20:07:17 -05:00
parent 8a4e306f28
commit 6b4fd65d4b
8 changed files with 300 additions and 53 deletions

View File

@@ -812,7 +812,9 @@ mongoose.model('Ticket', new mongoose.Schema({
ticketTag: String, // e.g. server-down, billing used for channel name prefix (after priority emoji)
lastActivity: Date,
reminderSent: { type: Boolean, default: false },
welcomeMessageId: String
welcomeMessageId: String,
claimerId: String,
staffChannelId: String
}));
mongoose.model('TicketCounter', new mongoose.Schema({
@@ -846,3 +848,10 @@ mongoose.model('GuildSettings', new mongoose.Schema({
emailRouting: { type: String, enum: ['thread', 'category'], default: 'category' },
updatedAt: { type: Date, default: Date.now }
}));
mongoose.model('StaffSettings', new mongoose.Schema({
userId: { type: String, required: true, unique: true },
guildId: { type: String, required: true },
notifyDm: { type: Boolean, default: false },
updatedAt: { type: Date, default: Date.now }
}));