]> kaliko git repositories - sid.git/blobdiff - sid/ping.py
Bump version
[sid.git] / sid / ping.py
index 4f3f44ff6cc4c69cbff4324ed00f5e67645fc992..a0463ea03ee4b098b609f6f0986912b2c731cb92 100644 (file)
@@ -1,21 +1,10 @@
 # -*- coding: utf-8 -*-
-
-# Copyright (C) 2014, 2020 kaliko <kaliko@azylum.org>
-
-# 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
-# the Free Software Foundation, version 3 only.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# SPDX-FileCopyrightText:  2014, 2020 kaliko <kaliko@azylum.org>
+# SPDX-License-Identifier: GPL-3.0-or-later
 
 from .plugin import Plugin, botcmd
 
+
 class Ping(Plugin):
     PongURL = 'http://upload.wikimedia.org/wikipedia/commons/f/f8/Pong.png'
 
@@ -24,7 +13,8 @@ class Ping(Plugin):
 
     @botcmd
     def ping(self, rcv, args):
-        """ping's answering a pong showing the bot is alive.
+        """Answers a pong showing the bot is alive.
+
         !ping : You'll get back "pong"!
         """
         msg = {'mhtml': '!<a href="{0.PongURL}">pong</a>'.format(self),