mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-27 05:21:09 -05:00
Added strlen command.
This commit is contained in:
parent
68b9b5f378
commit
57b0c23a79
@ -87,6 +87,12 @@ class Utilities(callbacks.Privmsg):
|
||||
"""
|
||||
irc.reply(msg, privmsgs.getArgs(args).lower())
|
||||
|
||||
def strlen(self, irc, msg, args):
|
||||
total = 0
|
||||
for arg in args:
|
||||
total += len(arg)
|
||||
irc.reply(msg, str(total))
|
||||
|
||||
def repr(self, irc, msg, args):
|
||||
"""<text>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user