# AND/OR BASED ROLES

Setting up multiple rules for a single role allows for in depth Token logic to be applied to your Discord roles. After setting up your first rule, adding another will prompt the use of a “Logic Operator”

**“AND”**

* Setting up roles using the “AND” logic operator allows you to stack rules, so that all criteria must be met in order to be assigned the role

Example:&#x20;

At least 1 NFT from “x collection”

“AND” At least 1,000 "y Tokens"<br>

**“OR”**

* Setting up roles using the “OR” logic operator allows you to set multiple rules for a single role, so that any criteria can be met in order to be assigned the role

Example:&#x20;

At least 1 NFT from “x collection” with attribute “x”

“OR” At least 1 NFT from “y collection” with attribute “y”

<figure><img src="https://2946875910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLywT3slSQ4GoAk6k17dV%2Fuploads%2FLiMxNl0iesNisBpOroaR%2FLogic%20Op.png?alt=media&#x26;token=0b7fbec7-feb9-4f10-9ba6-4412536e28dd" alt=""><figcaption></figcaption></figure>
