1 # -*- coding: utf-8 -*-
2 # SPDX-FileCopyrightText: 2014, 2020 kaliko <kaliko@azylum.org>
3 # SPDX-License-Identifier: GPL-3.0-or-later
5 from .plugin import Plugin, botcmd
9 PongURL = 'http://upload.wikimedia.org/wikipedia/commons/f/f8/Pong.png'
11 def __init__(self, bot):
12 Plugin.__init__(self, bot)
15 def ping(self, rcv, args):
16 """Answers a pong showing the bot is alive.
18 !ping : You'll get back "pong"!
20 msg = {'mhtml': '!<a href="{0.PongURL}">pong</a>'.format(self),
25 # vim: ai ts=4 sw=4 sts=4 expandtab