示例#1
0
 def print_help(self, msg, *args):
     """Shows help and introduction"""
     self.bot.send_reply(msg, "Hi! I’m Helga! \U0001F61D\nGo ahead, check out my source and contribute. :3\n"
                              "https://github.com/buckket/thelga\n\n"
                              "You can view my commands by typing /list\n\n"
                              "My owner is: {owner}\n"
                              "My version is: {version}"
                         .format(owner=config.get('bot')['owner'], version=__version__))
示例#2
0
 def load_all(self):
     for plugin in config.get('plugins'):
         self.load_plugin(plugin)