chiark / gitweb /
Add nsfw and nws commands
authorMatthew Vernon <matthewv@chiark.greenend.org.uk>
Wed, 13 Apr 2011 14:44:26 +0000 (15:44 +0100)
committerMatthew Vernon <matthewv@chiark.greenend.org.uk>
Wed, 13 Apr 2011 14:44:26 +0000 (15:44 +0100)
commit5b64cc351cc73ba65fee7fd3be1b7988802babac
treee9903b0c559dfd0907e763ad6feb0a9880b1f2ae
parent56f09a02484a55ec3b2da563cf85de582d343df4
Add nsfw and nws commands

These (nws is just an alias for nsfw for the lazy typist) are the same
as url, but do the http -> nsfw conversion for you. So you can do

/msg servus nsfw http://some.naughty.url/
and it'll paste nsfw://some.naughty.url/ into #chiark for you.
Servus-chiark.py
commands.py
servus.html