mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Split ping off from the old Fun plugin.
This commit is contained in:
parent
8c2d613a5c
commit
8669467b9b
@ -585,6 +585,13 @@ class Misc(callbacks.Privmsg):
|
|||||||
irc.reply(buildPersonString(module))
|
irc.reply(buildPersonString(module))
|
||||||
contributors = wrap(contributors, ['plugin', additional('nick')])
|
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
|
Class = Misc
|
||||||
|
|
||||||
# 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