Merge branch 'develop' into refresh
This commit is contained in:
commit
e31cdffb75
2 changed files with 3 additions and 3 deletions
|
@ -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"""
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue