From bc6d6048977b8bddb116778ad91b793a37530539 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Mon, 8 Jul 2013 22:22:06 +1200 Subject: [PATCH] A --- plugins/length.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/length.py diff --git a/plugins/length.py b/plugins/length.py new file mode 100644 index 0000000..e1c4fd9 --- /dev/null +++ b/plugins/length.py @@ -0,0 +1,7 @@ +from util import hook + + +@hook.command +def length(inp): + "length -- gets the length of " + return "The length of that message is {} characters.".format(len(inp))