X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sid%2Fping.py;h=3476e7a333b7f91c9a244cd9a030cff8e94a083c;hb=912b046c8bdf24a2e8a477269256ad99593f0728;hp=96d92c79ced2ef3c21f077477590e4a847759cdb;hpb=c42c7531be1c512846ab8795f331e676ab53f003;p=sid.git diff --git a/sid/ping.py b/sid/ping.py index 96d92c7..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,10 +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