mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Added echo command.
This commit is contained in:
parent
94e753aaaa
commit
9a79c6b0ee
@ -59,6 +59,14 @@ class Utilities(callbacks.Privmsg):
|
||||
if sep == '':
|
||||
sep = None
|
||||
irc.reply(msg, text.split(sep))
|
||||
|
||||
def echo(self, irc, msg, args):
|
||||
"""takes any number of arguments
|
||||
|
||||
Returns the arguments given it.
|
||||
"""
|
||||
irc.reply(msg, ' '.join(args))
|
||||
|
||||
|
||||
Class = Utilities
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user