From f70492e0597218d784d68776e9635ab2c1cb3046 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 31 Oct 2020 00:15:47 -0400 Subject: [PATCH] changes to queue limiter --- src/class/Queue.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/class/Queue.ts b/src/class/Queue.ts index db37035..ae2915b 100644 --- a/src/class/Queue.ts +++ b/src/class/Queue.ts @@ -14,7 +14,7 @@ export default class Queue { constructor(client: Client) { this.client = client; this.queues = { - score: new Bull('score'), + score: new Bull('score', { prefix: 'queue::score', limiter: { max: 80, duration: 1000 } }), }; this.setProcessors(); } @@ -67,7 +67,7 @@ export default class Queue { const embed = new RichEmbed(); embed.setTitle('Application Decision'); embed.addField('Status', application.decision, true); - embed.addField('UserID', job.data.userID, true); + embed.addField('User ID', job.data.userID, true); embed.addField('Job ID', job.id.toString(), true); embed.setFooter(this.client.user.username, this.client.user.avatarURL); embed.setTimestamp();