πNFT Voting
Set up an NFT-weighted vote directly in Discord.
Before reading below, make sure you have invited the Emerald bot to your Discord server using this link.
There are 2 commands you can use to start an NFT Vote depending on if your NFT is in the NFT Catalog or not.
Command 1 - NFT Catalog
This is what you should use if your NFT is in the NFT Catalog.
Inputs
identifier
- The collection identifier (ex.Flunks
). The bot will auto suggest options if you start typing them in.option_1
- The first option users can vote for.option_2
- The second option users can vote for.role
- the Discord role a citizen must have in order to vote (put@everyone
if you want everyone to vote)title
- the title of the votedescription
- the description of the voteweighted
- putTrue
if you want a citizen's vote to count based on the # of NFTs they have. PutFalse
if you want everyone's vote to be worth 1 no matter how many NFTs they have (they must have >= 1)hide_results
- If true, users must vote in order to see vote results. If false, they can view results at any time.(OPTIONAL)
end_date
- Set a date (in UNIX timestamp) for when the vote should automatically end.(OPTIONAL)
options 3 - 6
- Set additional options for users to vote for.
Command 2 - Any NFT
This is what you should use if your NFT is not in the NFT Catalog.
Inputs
contractname
- The name of the contractcontractaddress
- The address of where the contract is deployedpublicpath
- The public path of the NFT Collection (ex. If the public path is/public/FLOATCollection
, you would inputFLOATCollection
).option_1
- The first option users can vote for.option_2
- The second option users can vote for.role
- the Discord role a citizen must have in order to vote (put@everyone
if you want everyone to vote)title
- the title of the votedescription
- the description of the voteweighted
- putTrue
if you want a citizen's vote to count based on the # of NFTs they have. PutFalse
if you want everyone's vote to be worth 1 no matter how many NFTs they have (they must have >= 1)hide_results
- If true, users must vote in order to see vote results. If false, they can view results at any time.(OPTIONAL)
end_date
- Set a date (in UNIX timestamp) for when the vote should automatically end.(OPTIONAL)
options 3 - 6
- Set additional options for users to vote for.
Last updated