A
This commit is contained in:
parent
90df679324
commit
bc6d604897
1 changed files with 7 additions and 0 deletions
7
plugins/length.py
Normal file
7
plugins/length.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from util import hook
|
||||||
|
|
||||||
|
|
||||||
|
@hook.command
|
||||||
|
def length(inp):
|
||||||
|
"length <message> -- gets the length of <message>"
|
||||||
|
return "The length of that message is {} characters.".format(len(inp))
|
Reference in a new issue