verify queue when checking mmqueue

This commit is contained in:
Erik 2022-01-25 10:46:42 +02:00
parent d23d3a8d60
commit 31b07e7dbf
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

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