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 5a7cc94cdac1165910175f136cb1959afb9bd09b..cdc776caa06f11e2788fb0e758a878ab696efa03 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?://[^ ]+)( |$)")
 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):
 
 ### Deal with /msg bot url or ~url in channel
 def urlq(bot, cmd, nick, conn, public,urldb):