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:
|
if target == nick:
|
||||||
conn.msg(target, message)
|
conn.msg(target, message)
|
||||||
else:
|
else:
|
||||||
conn.msg(target, "({}) {}".format(nick, message))
|
conn.msg(target, u"({}) {}".format(nick, message))
|
||||||
|
|
||||||
def action(message, target=chan):
|
def action(message, target=chan):
|
||||||
"""sends an action to the current channel/user or a specific channel/user"""
|
"""sends an action to the current channel/user or a specific channel/user"""
|
||||||
|
|
|
@ -113,8 +113,8 @@ def length(inp):
|
||||||
|
|
||||||
@hook.command
|
@hook.command
|
||||||
def reverse(inp):
|
def reverse(inp):
|
||||||
"""Enter a string and the bot will reverse it and print it out."""
|
"""reverse <string> -- reverses <string>."""
|
||||||
return "You say %s, I say %s" % (inp, inp[::-1])
|
return inp[::-1]
|
||||||
|
|
||||||
# hashing
|
# hashing
|
||||||
|
|
||||||
|
|
Reference in a new issue