Added shrink command.

This commit is contained in:
Jeremy Fincher 2003-07-16 18:45:28 +00:00
parent e745ec6d88
commit 8ba0d3a1a4

View File

@ -46,6 +46,10 @@ def configure(onStart, afterConnect, advanced):
onStart.append('load Utilities')
class Utilities(callbacks.Privmsg):
def shrink(self, irc, msg, args):
text = privmsgs.getArgs(args)
irc.reply(msg, text[:450])
def strjoin(self, irc, msg, args):
"<separator> <strings to join>"
sep = args.pop(0)