Added echo command.

This commit is contained in:
Jeremy Fincher 2003-04-08 07:19:56 +00:00
parent 94e753aaaa
commit 9a79c6b0ee

View File

@ -60,5 +60,13 @@ class Utilities(callbacks.Privmsg):
sep = None sep = None
irc.reply(msg, text.split(sep)) 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 Class = Utilities
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: