Switched to a faster method of printing the channel list (hah, I bet this will confuse python beginners)

This commit is contained in:
lukeroge 2012-03-29 11:07:41 +13:00
parent ebdf34256e
commit 66c43af84e

View file

@ -17,7 +17,7 @@ def admins(inp, bot=None):
@hook.command(autohelp=False) @hook.command(autohelp=False)
def channels(inp, conn=None): def channels(inp, conn=None):
".channels -- Lists the channels that the bot is in." ".channels -- Lists the channels that the bot is in."
return "I am in these channels: " + ", ".join(conn.channels) return "I am in these channels: %s" % ", ".join(conn.channels)
@hook.command(autohelp=False, adminonly=True) @hook.command(autohelp=False, adminonly=True)