Better queue text.

This commit is contained in:
Auke Kok 2019-04-28 21:04:31 -07:00
parent 98cf23704c
commit 279c31b892

View File

@ -54,6 +54,12 @@ irc.register_bot_command("queue", {
else
count = qcache[2]
end
return true, "There are currently " .. count .. " boxes in the review queue"
if count == 0 then
return true, "There are no boxes in the review queue"
elseif count == 1 then
return true, "There is 1 boxes in the review queue"
else
return true, "There are " .. count .. " boxes in the review queue"
end
end,
})