X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sid%2Fping.py;h=3476e7a333b7f91c9a244cd9a030cff8e94a083c;hb=912b046c8bdf24a2e8a477269256ad99593f0728;hp=9fbab84a5cb19be9b5bcffbe81338fd2d86816f0;hpb=8d02f7db31a8587f1cd9bb31bcdffd517f6c144e;p=sid.git diff --git a/sid/ping.py b/sid/ping.py index 9fbab84..3476e7a 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' @@ -27,8 +28,8 @@ class Ping(Plugin): """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