diff --git a/core/main.py b/core/main.py index faf2cbf..5973e65 100755 --- a/core/main.py +++ b/core/main.py @@ -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""" diff --git a/plugins/utility.py b/plugins/utility.py index ae0e4d1..947db15 100644 --- a/plugins/utility.py +++ b/plugins/utility.py @@ -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 -- reverses .""" + return inp[::-1] # hashing