mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added an ignore command, useful for sequencing several nested commands.
This commit is contained in:
parent
62fbcccdf4
commit
cae9f9a255
@ -46,6 +46,9 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
onStart.append('load Utilities')
|
onStart.append('load Utilities')
|
||||||
|
|
||||||
class Utilities(callbacks.Privmsg):
|
class Utilities(callbacks.Privmsg):
|
||||||
|
def ignore(self, irc, msg, args):
|
||||||
|
pass
|
||||||
|
|
||||||
def shrink(self, irc, msg, args):
|
def shrink(self, irc, msg, args):
|
||||||
text = privmsgs.getArgs(args)
|
text = privmsgs.getArgs(args)
|
||||||
irc.reply(msg, text[:400])
|
irc.reply(msg, text[:400])
|
||||||
|
Loading…
Reference in New Issue
Block a user