def configure(self, **kwargs):
        """Configure extra settings for the bot"""

        admin                        = kwargs.get("admin", None)
        admins                       = kwargs.get("admins", None)
        newprefix                    = kwargs.get("command_prefix", False)
        self.help_command            = kwargs.get("help_command", self.help_command)
        self.riot_api_key            = kwargs.get("riot_api_key", self.riot_api_key)
        self.need_arg_message        = kwargs.get("need_arg_message", self.need_arg_message)
        self.not_admin_message       = kwargs.get("not_admin_message", self.not_admin_message)
        self.room_invite_message     = kwargs.get("room_invite_message", self.room_invite_message)
        self.someone_added_message   = kwargs.get("someone_added_message", self.someone_added_message)
        self.someone_online_message  = kwargs.get("someone_online_message", self.someone_online_message)
        self.invalid_command_message = kwargs.get("invalid_command_message", self.invalid_command_message)

        if isinstance(admins, list):
            for zadmin in admins:
                if zadmin not in self.admins:
                    self.add_admin(zadmin)
        if admin and self.admins not in admin:
            self.add_admin(admin)

        if not self.help_command and "help" in self.commands:
            self.logger.debug("Unregistered bot command: help")
            self.commands.pop("help", None)

        if newprefix:
            self.logger.debug("Now using command prefix: " + newprefix)
            if self.command_prefix:
                #Need to clean commands first
                tmp = {}
                for name, value in self.commands.items():
                    tmp[name[len(self.command_prefix):]] = value
                self.commands = tmp
            self.command_prefix = newprefix
            tmp = {}
            for name, value in self.commands.items():
                tmp[self.command_prefix+name] = value
            self.commands = tmp
dataset/ETHPy150Open Mathzx/zxLoLBoT/zxlolbot.py/zxLoLBoT.configure/swapped operands of `not in`