def load_command(self, command, flags, user_level, code, set=True):
    '\n        Load a command in the runtime\n\n        :param command: What is the command called\n        :param flags: Command flags\n        :param user_level: The minimum user level to run the command\n        :param code: The Lua code for the custom command\n        :param set: Should the command be set on the bot via set_command,\n                    set this to False when loading commands from e.g. the\n                    database\n        :return: None\n        '
    if self.logger:
        self.logger.debug(u'Loading command {0} with user level {1}'.format(command, user_level))
    self.commands[command] = {'flags': flags, 'user_level': user_level, 'code': code}
    self.load_lua(code)
    return (self.channel, command, flags, user_level, code)
Load a command in the runtime

:param command: What is the command called
:param flags: Command flags
:param user_level: The minimum user level to run the command
:param code: The Lua code for the custom command
:param set: Should the command be set on the bot via set_command,
            set this to False when loading commands from e.g. the
            database
:return: None
def load_command(self, command, flags, user_level, code, set=True):
    '\n        Load a command in the runtime\n\n        :param command: What is the command called\n        :param flags: Command flags\n        :param user_level: The minimum user level to run the command\n        :param code: The Lua code for the custom command\n        :param set: Should the command be set on the bot via set_command,\n                    set this to False when loading commands from e.g. the\n                    database\n        :return: None\n        '
    if self.logger:
        self.logger.debug(u'Loading command {0} with user level {1}'.format(command, user_level))
    self.commands[command] = {'flags': flags, 'user_level': user_level, 'code': code}
    self.load_lua(code)
    return (self.channel, command, flags, user_level, code)