Emerald City
  • Welcome to Emerald City
  • Products
    • 🐦Toucans
      • Risks
      • How to Set up your Wallet
      • Add your Token to DEX
    • 🎟️FLOAT
    • πŸ€–Emerald bot
      • βœ…Verification
        • πŸ™ŠVerify User Assets
        • ⛏️Verify Touchstone NFTs
        • 🐦Verify Toucans
      • πŸ—³οΈVoting
        • πŸ™ŠNFT Voting
        • πŸͺ™Token Voting
        • 🐦Toucans Voting
      • πŸ—ΊοΈDiscovery
        • Identify User
        • Wallet Information
        • Users with Role
        • Users in a Channel
      • πŸŸͺDapper Sports
        • πŸ€NBA/WNBA TopShot
        • 🏈NFL All Day
        • πŸ‘ŠUFC Strike
      • πŸ’°Tipping
    • ⛏️Touchstone
  • Education
    • πŸ“šEmerald Academy
  • Auditing
    • πŸ›‘οΈShield
      • Contract Auditing
      • Transaction Auditing
  • Developer Tooling
    • πŸ’»Helpful Tools
Powered by GitBook
On this page
  1. Products
  2. Emerald bot
  3. Voting

Token Voting

Set up an Token-weighted vote directly in Discord.

PreviousNFT VotingNextToucans Voting

Last updated 1 year ago

Before reading below, make sure you have invited the Emerald bot to your Discord server using .

Command

/vote token

Inputs

  1. contractname - The name of the contract

  2. contractaddress - The address of where the contract is deployed

  3. publicpath - The public path of the NFT Collection (ex. If the public path is /public/FLOATCollection, you would input FLOATCollection).

  4. option_1 - The first option users can vote for.

  5. option_2 - The second option users can vote for.

  6. role - the Discord role a citizen must have in order to vote (put @everyone if you want everyone to vote)

  7. title - the title of the vote

  8. description - the description of the vote

  9. hide_results - If true, users must vote in order to see vote results. If false, they can view results at any time.

  10. (OPTIONAL) end_date - Set a date (in ) for when the vote should automatically end.

  11. (OPTIONAL) options 3 - 6 - Set additional options for users to vote for.

πŸ€–
πŸ—³οΈ
πŸͺ™
this link
UNIX timestamp