SETUP
How to invite & setup Apello token gating bot in your discord server ?
Last updated
How to invite & setup Apello token gating bot in your discord server ?
Last updated
Invite Apello from here https://www.apello.xyz/.
Create a channel in your discord ex: #apello-token-gating.
Make sure to add the bot to the channel & give it the needed permissions.
Create a role Apello Manager to be able to run admin commands.
Add to yourself the Apello Manager role.
Go to the channel you just created for Apello and run /set-channel channel:
Now get the NFT contract and create the role you want to assign to the holders unless you already have one.
From Juno: https://nft.juno.loop.markets/nftDetail/juno1qnmgent6fmw8rufz978rhmzfgmvme9gvyj0t7rkpffklvwr9tteste35lg/Tradooors.3133
EVM Forma: You can copy the cotract from here https://explorer.forma.art/tokens
run /set-contract-role
Blockchain: the blockchain of your collection - choose one from the dropdown menu.
Role: The role you want to assign to the holder - choose from the dropdown menu.
Contract: Your NFT contract (Check step 7)
Please note that for ERC-1155 tokens, you can specify the ID by adding it to the contract as below:
Number_of_tokens: The number of NFTs the user should hold to get the role.
Make sure to drag Apello's
role (Bot's role) above all the roles you mentioned in step 8.
Step 9 is very important! because Discord bots can't assign roles higher than their role.
You are good to go now! you can click the verify button to get your special role congratulations 🎉
Create a channel for Apello Trait Gating and follow the steps from 2-5 in SETUP APELLO TOKEN GATING
Set up the channel where the trait gating bot will work using /set-trait-holder-channel
Now add the trait you want to track using /set-contract-trait-role
You can get the trait value from here:
Now All you need to do is get the ID of the NFT you hold with the trait you are trying to verify. You can get it from the NFT link : https://www.stargaze.zone/marketplace/stars1yrpjz5cu5vemal70p686jk6cyj8aktuz8qkcg7xvvlalr90pxhqqvc4zy9/3065 In this example, The NFT ID is 3065.
Click the verify-trait button in the Apello embed and submit the ID above.
Steps 2, 3, 4, 5 & 9 are similar for both SETUP APELLO TOKEN GATING & SETUP APELLO TRAIT GATING