We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35330fb commit 1c5025eCopy full SHA for 1c5025e
1 file changed
src/command-handlers/moderation/queueLock.ts
@@ -19,13 +19,13 @@ export async function unlockQueue(queueId: number): Promise<boolean> {
19
export async function lockAllQueuesHandler(): Promise<number> {
20
const lockedIds = await lockAllQueues()
21
await Promise.all(lockedIds.map((id) => clearQueueUsers(id)))
22
- if (lockedIds.length > 0) await updateQueueMessage()
+ if (lockedIds.length > 0) await updateQueueMessage(true)
23
return lockedIds.length
24
}
25
26
export async function unlockAllQueuesHandler(): Promise<boolean> {
27
const result = await unlockAllQueues()
28
- if (result) await updateQueueMessage()
+ if (result) await updateQueueMessage(true)
29
return result
30
31
0 commit comments