# -*- coding: utf-8 -*-
-# Copyright (C) 2014 kaliko <kaliko@azylum.org>
+# 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
"""ping's answering a pong showing the bot is alive.
!ping : You'll get back "pong"!
"""
- msg = {'mhtml':'!<a href="{0.PongURL}">pong</a>'.format(self),
- 'mbody':'!pong',}
+ msg = {'mhtml': '!<a href="{0.PongURL}">pong</a>'.format(self),
+ 'mbody': '!pong'}
self.reply(rcv, msg)
# VIM MODLINE
# -*- coding: utf-8 -*-
# Copyright (C) 2010, 2011 Anaƫl Verrier <elghinn@free.fr>
-# Copyright (C) 2014 kaliko <kaliko@azylum.org>
+# 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
}
"""
if isinstance(msg, str):
- msg = {'mbody':msg}
+ msg = {'mbody': msg}
msg.setdefault('mhtml', None)
self.bot.send_message(mto=dest,
mtype=mtype,