forked from Galactic/modmail
verify queue when checking mmqueue
This commit is contained in:
parent
d23d3a8d60
commit
31b07e7dbf
@ -14,6 +14,7 @@ class Queue extends Command {
|
|||||||
const { queue } = this.client.modmail;
|
const { queue } = this.client.modmail;
|
||||||
if (!queue.length) return 'Queue is empty!';
|
if (!queue.length) return 'Queue is empty!';
|
||||||
|
|
||||||
|
await this.client.cache.verifyQueue();
|
||||||
const users = await this.client.resolveUsers(queue);
|
const users = await this.client.resolveUsers(queue);
|
||||||
let str = ``,
|
let str = ``,
|
||||||
count = 0;
|
count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user