From: Matthew Vernon Date: Fri, 1 Apr 2011 22:18:56 +0000 (+0100) Subject: document nsfw support X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=commitdiff_plain;h=9070ebc415fd5ed92385fc307a72a655f04b0851 document nsfw support --- diff --git a/commands.py b/commands.py index e6eb80c..7b93d88 100644 --- a/commands.py +++ b/commands.py @@ -332,7 +332,7 @@ urlcomplaints = ["a contemporary","an interesting","a fascinating","an overused" ### Deal with /msg bot url or ~url in channel def urlq(bot, cmd, nick, conn, public,urldb): if (not urlre.search(cmd)): - bot.automsg(False,nick,"Please use 'url' only with http or https URLs") + bot.automsg(False,nick,"Please use 'url' only with http, https, nsfw, or nsfws URLs") return urlstring=urlre.search(cmd).group(1) diff --git a/servus.html b/servus.html index 43ed887..31db315 100644 --- a/servus.html +++ b/servus.html @@ -227,7 +227,12 @@ your behalf). The syntax is:
Servus will either paste the URL into channel, or /msg you to tell you it was a duplicate. Although you can use this command in-channel (and get a response by /msg ), this is discouraged.

+class="code">/msg ), this is discouraged. Servus also +understands nsfw:// +and nsfws:// URLs, and knows they are an +obfuscation of the relevant http:// +or https:// URL for URLs that are not +work-safe.