Browse Source

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
changes/39/656239/1
Adam Spiers 5 months ago
parent
commit
36a7857d45
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      ptgbot/bot.py

+ 1
- 6
ptgbot/bot.py View File

@@ -166,13 +166,8 @@ class PTGBot(SASL, SSL, irc.bot.SingleServerIRCBot):
166 166
             return
167 167
 
168 168
         seen_nick = words[0]
169
-        if nick.lower() == seen_nick.lower():
170
-            self.send_priv_or_pub(
171
-                reply_to, nick,
172
-                "In case you hadn't noticed, you're right here.")
173
-            return
174
-
175 169
         last_check_in = self.data.get_last_check_in(seen_nick)
170
+
176 171
         if last_check_in['location'] is None:
177 172
             self.send_priv_or_pub(
178 173
                 reply_to, nick,

Loading…
Cancel
Save