Switched to a faster method of printing the channel list (hah, I bet this will confuse python beginners)
This commit is contained in:
parent
ebdf34256e
commit
66c43af84e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Reference in a new issue