chiark / gitweb /
url observations: make the "complaints" less complainy
authorMatthew Vernon <matthewv@chiark.greenend.org.uk>
Wed, 7 Nov 2018 19:17:56 +0000 (19:17 +0000)
committerMatthew Vernon <matthewv@chiark.greenend.org.uk>
Wed, 7 Nov 2018 19:17:56 +0000 (19:17 +0000)
Based on Ian Jackson's re-wording, but tweaked a little to suit my
taste better.

commands.py

index 5a7cc94..cdc776c 100755 (executable)
@@ -409,7 +409,10 @@ urlre = re.compile(r"((?:(?:http)|(?:nsfw))s?://[^ ]+)( |$)")
 hturlre= re.compile(r"(http)(s?://[^ ]+)( |$)")
 #matches \bre\:?\s+ before a regexp; (?i)==case insensitive match
 shibboleth = re.compile(r"(?i)\bre\:?\s+((?:(?:http)|(?:nsfw))s?://[^ ]+)( |$)")
-urlcomplaints = ["a contemporary","an interesting","a fascinating","an overused","a vastly overused"]
+urlcomplaints = ["a new",
+                 "a fascinating",
+                 "an interesting",
+                 "a popular"]
 
 ### Deal with /msg bot url or ~url in channel
 def urlq(bot, cmd, nick, conn, public,urldb):