def ban(self, roomJID, entity, reason=None, sender=None):
        return self._setAffiliation(roomJID, entity, 'outcast',
                                    reason=reason, sender=sender)
Ban a user from a MUC room.
dataset/ETHPy150Open ralphm/wokkel/wokkel/muc.py/MUCClientProtocol.ban