# https://www.python.org/dev/peps/pep-0440/
__version__ = '0.1.2'
__url__ = 'http://git.kaliko.me/?p=sid.git'
+__doc__ = 'https://kaliko.gitlab.io/sid/'
@botcmd
def feeds(self, rcv, args):
- """feeds monitors debian project related feeds.
+ """Monitors debian project related feeds.
* ``!feeds`` : registred feeds list
* ``!feeds last`` : last check time"""
@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"!
"""
import slixmpp
-from sid import __url__
+from sid import __url__, __doc__
def botcmd(*args, **kwargs):
Automatically assigned to the "help" command."""
help_cmd = ('Type {}help <command name>'.format(self.prefix) +
' to get more info about that specific command.\n\n' +
+ f'DOC: {__doc__}\n' +
f'SRC: {__url__}')
if not args:
if self.__doc__: