From 2294de395f7dbd34d149f6c3275795d36a9289c0 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 30 Sep 2016 20:56:27 -0400 Subject: [PATCH] Clarify !lag output --- earwigbot/commands/lag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/earwigbot/commands/lag.py b/earwigbot/commands/lag.py index 5e902f1..d363b31 100644 --- a/earwigbot/commands/lag.py +++ b/earwigbot/commands/lag.py @@ -37,7 +37,7 @@ class Lag(Command): msg = base.format(site.name, self.get_replag(site)) elif data.command == "maxlag": base = "\x0302{0}\x0F: {1}." - msg = base.format(site.name, self.get_maxlag(site).capitalize()) + msg = base.format(site.name, self.get_maxlag(site)) else: base = "\x0302{0}\x0F: {1}; {2}." msg = base.format(site.name, self.get_replag(site), @@ -45,10 +45,10 @@ class Lag(Command): self.reply(data, msg) def get_replag(self, site): - return "replag is {0}".format(self.time(site.get_replag())) + return "SQL replag is {0}".format(self.time(site.get_replag())) def get_maxlag(self, site): - return "database maxlag is {0}".format(self.time(site.get_maxlag())) + return "API maxlag is {0}".format(self.time(site.get_maxlag())) def get_site(self, data): if data.kwargs and "project" in data.kwargs and "lang" in data.kwargs: