From 36a7857d45464321b7f6e45a1ef86304b10b8e17 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sun, 28 Apr 2019 21:55:36 -0600 Subject: [PATCH] Remove joke when asking when self was last seen As discussed in I0d88a540ad7a333841c208dd7f2a7247897eb238, there are good reasons for someone asking where they themself were last seen, e.g. to verify that their current status is correct, or just for testing the bot. So remove the joke. Perhaps we can find another (funnier) Easter egg to add instead. Change-Id: Ib27c72a20e71f0835e103e306b145d41a089131c --- ptgbot/bot.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ptgbot/bot.py b/ptgbot/bot.py index 171d014..fe45eb4 100644 --- a/ptgbot/bot.py +++ b/ptgbot/bot.py @@ -166,13 +166,8 @@ class PTGBot(SASL, SSL, irc.bot.SingleServerIRCBot): return seen_nick = words[0] - if nick.lower() == seen_nick.lower(): - self.send_priv_or_pub( - reply_to, nick, - "In case you hadn't noticed, you're right here.") - return - last_check_in = self.data.get_last_check_in(seen_nick) + if last_check_in['location'] is None: self.send_priv_or_pub( reply_to, nick,