Split ping off from the old Fun plugin.

This commit is contained in:
James Vega 2005-02-02 03:26:22 +00:00
parent 8c2d613a5c
commit 8669467b9b

View File

@ -585,6 +585,13 @@ class Misc(callbacks.Privmsg):
irc.reply(buildPersonString(module))
contributors = wrap(contributors, ['plugin', additional('nick')])
def ping(self, irc, msg, args):
"""takes no arguments
Checks to see if the bot is alive.
"""
irc.reply('pong', prefixName=False)
Class = Misc
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: