from .plugin import Plugin, botcmd
+
class Ping(Plugin):
PongURL = 'http://upload.wikimedia.org/wikipedia/commons/f/f8/Pong.png'
@botcmd
def ping(self, rcv, args):
"""ping's answering a pong showing the bot is alive.
+
!ping : You'll get back "pong"!
"""
msg = {'mhtml': '!<a href="{0.PongURL}">pong</a>'.format(self),