From b4477ddab9ecfaed0bd5d1aa5d75be27f8cd448f Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Tue, 28 Aug 2012 23:16:42 +1200 Subject: [PATCH] Removed info plugin. (channels lets people see secret channels, prefix is silly) --- plugins/info.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 plugins/info.py diff --git a/plugins/info.py b/plugins/info.py deleted file mode 100644 index 40fd35f..0000000 --- a/plugins/info.py +++ /dev/null @@ -1,13 +0,0 @@ -from util import hook - - -@hook.command(autohelp=False) -def channels(inp, conn=None): - "channels -- Lists the channels that the bot is in." - return "I am in these channels: %s" % ", ".join(conn.channels) - - -@hook.command(autohelp=False) -def prefix(inp, notice=False, conn=False): - "prefix -- Shows the bot's command prefix" - notice('The command prefix is "%s"' % conn.conf["command_prefix"])