X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sid%2Fping.py;h=a641c83108206543c1631546a10b78e2bfe3cb61;hb=4a7f23317ab2236a85c3a17a00a52ac034c9bad7;hp=9fbab84a5cb19be9b5bcffbe81338fd2d86816f0;hpb=8d02f7db31a8587f1cd9bb31bcdffd517f6c144e;p=sid.git diff --git a/sid/ping.py b/sid/ping.py index 9fbab84..a641c83 100644 --- a/sid/ping.py +++ b/sid/ping.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014 kaliko +# Copyright (C) 2014, 2020 kaliko # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ from .plugin import Plugin, botcmd + class Ping(Plugin): PongURL = 'http://upload.wikimedia.org/wikipedia/commons/f/f8/Pong.png' @@ -25,10 +26,11 @@ class Ping(Plugin): @botcmd def ping(self, rcv, args): """ping's answering a pong showing the bot is alive. + !ping : You'll get back "pong"! """ - msg = {'mhtml':'!pong'.format(self), - 'mbody':'!pong',} + msg = {'mhtml': '!pong'.format(self), + 'mbody': '!pong'} self.reply(rcv, msg) # VIM MODLINE