mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added echo command.
This commit is contained in:
parent
94e753aaaa
commit
9a79c6b0ee
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user