From 9070ebc415fd5ed92385fc307a72a655f04b0851 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Fri, 1 Apr 2011 23:18:56 +0100 Subject: [PATCH] document nsfw support --- commands.py | 2 +- servus.html | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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.


-- 2.30.2