consistency sent to the bot

This commit is contained in:
Jack 2021-04-22 00:08:38 +01:00
parent 330b79d287
commit 923413da65

View file

@ -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(),
});