From 923413da65e55ed8686703e01d7d48f74015ec77 Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 22 Apr 2021 00:08:38 +0100 Subject: [PATCH] consistency sent to the bot --- functions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/index.js b/functions/index.js index 4e1f523f8..df544cd92 100644 --- a/functions/index.js +++ b/functions/index.js @@ -2788,10 +2788,10 @@ exports.scheduledFunctionCrontab = functions.pubsub } }); -async function announceLbUpdate(discordId, pos, lb, wpm, raw, acc) { +async function announceLbUpdate(discordId, pos, lb, wpm, raw, acc, con) { db.collection("bot-commands").add({ command: "sayLbUpdate", - arguments: [discordId, pos, lb, wpm, raw, acc], + arguments: [discordId, pos, lb, wpm, raw, acc, con], executed: false, requestTimestamp: Date.now(), });