import slixmpp
+from sid import __url__
+
def botcmd(*args, **kwargs):
"""Decorator for bot command functions
log_level=logging.INFO):
super(MUCBot, self).__init__(jid, password)
+ # Clean sphinx autodoc for self documentation
+ # (cf. MUCBot.help)
+ self.__doc__ = None
self.log = logging.getLogger(__package__)
self.plugins = list()
self.commands = dict()
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'+
- 'SRC: http://git.kaliko.me/sid.git')
+ ' to get more info about that specific command.\n\n' +
+ f'SRC: {__url__}')
if not args:
if self.__doc__:
description = self.__doc__.strip()