Matrica
  • Matrica
  • Guides
    • Pricing Guide
    • User Guide
      • Getting Started
      • Linking Wallets
      • Linking Socials
      • Customizing Your Profile
      • Bot Commands
      • Privacy Settings
      • /flash
    • Community Guide
      • Getting Started
      • Manage Community
      • Manage Collections
      • Discord Set-Up
        • Invite the Bot
        • Bot commands
        • Snapshots
      • Verification
        • Adding Rules
        • Fungible Token Roles
        • Amount Based Roles
        • Attribute Based Roles
        • Logic Operators
        • Status Based Roles
        • Verified Collection Roles
        • X Username Gating
        • Wallet Address Gating
        • Validator Stake Gating
        • Inscription # Based Roles
        • Royalty Based Roles
      • Telegram Set-Up
        • Invite the Bot
        • Bot Commands
        • Add Requirements
        • Invite Links
      • Sales Bot and Web-hooks
        • Discord Sales and Listings
        • Telegram Sales
      • Events
        • Create Event
        • Location
        • Requirements
        • Ticketing
      • Proposals
      • Customer Support
      • Staking Support
      • Add-Ons
    • Enterprise
  • Matrica Connect
    • Matrica Connect Overview
    • Who's Building with Matrica Connect?
    • What is OAuth2?
    • Create your application
    • Initial Redirect
    • Retrieving the Access Token
    • API Reference
  • API Reference
    • API - Getting Started
    • Feed
    • User
    • Wallet
    • Events
    • NFT
    • Snapshot
    • Onboard
    • Search
    • Collection
Powered by GitBook
On this page
  1. Guides
  2. Community Guide
  3. Verification

Logic Operators

Advanced Logic Operators and Multiple Rules

PreviousAttribute Based RolesNextStatus Based Roles

Last updated 5 months ago

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:

At least 1 NFT from “x collection”

“AND” At least 1,000 "y Tokens"

“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:

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

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