Merge branch 'develop' into refresh

This commit is contained in:
Luke Rogers 2013-10-07 21:11:29 +13:00
commit e31cdffb75
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ class Input(dict):
if target == nick:
conn.msg(target, message)
else:
conn.msg(target, "({}) {}".format(nick, message))
conn.msg(target, u"({}) {}".format(nick, message))
def action(message, target=chan):
"""sends an action to the current channel/user or a specific channel/user"""

View file

@ -113,8 +113,8 @@ def length(inp):
@hook.command
def reverse(inp):
"""Enter a string and the bot will reverse it and print it out."""
return "You say %s, I say %s" % (inp, inp[::-1])
"""reverse <string> -- reverses <string>."""
return inp[::-1]
# hashing