mirror of https://github.com/Mikaela/Limnoria.git
Added arg command.
This commit is contained in:
parent
4cdf013c14
commit
c8c7c40791
|
@ -67,6 +67,10 @@ class Utilities(callbacks.Privmsg):
|
||||||
"""
|
"""
|
||||||
irc.reply(msg, ' '.join(args))
|
irc.reply(msg, ' '.join(args))
|
||||||
|
|
||||||
|
def arg(self, irc, msg, args):
|
||||||
|
i = int(args.pop(0))
|
||||||
|
irc.reply(msg, args[i])
|
||||||
|
|
||||||
|
|
||||||
Class = Utilities
|
Class = Utilities
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
|
Loading…
Reference in New Issue