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))