mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added shrink command.
This commit is contained in:
parent
e745ec6d88
commit
8ba0d3a1a4
@ -46,6 +46,10 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
onStart.append('load Utilities')
|
onStart.append('load Utilities')
|
||||||
|
|
||||||
class Utilities(callbacks.Privmsg):
|
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):
|
def strjoin(self, irc, msg, args):
|
||||||
"<separator> <strings to join>"
|
"<separator> <strings to join>"
|
||||||
sep = args.pop(0)
|
sep = args.pop(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user