mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-16 14:42:53 +01:00
Added arg command.
This commit is contained in:
parent
4cdf013c14
commit
c8c7c40791
@ -66,6 +66,10 @@ class Utilities(callbacks.Privmsg):
|
||||
Returns the arguments given it.
|
||||
"""
|
||||
irc.reply(msg, ' '.join(args))
|
||||
|
||||
def arg(self, irc, msg, args):
|
||||
i = int(args.pop(0))
|
||||
irc.reply(msg, args[i])
|
||||
|
||||
|
||||
Class = Utilities
|
||||
|
Loading…
Reference in New Issue
Block a user