This example illustrates how to implement a Collab action allow list for Discord using different interaction types:
This miniapp allows teams (NFT creators, developers, community managers) to use allowlists integrated into discord, giving them more control over their launches, mints and communities. For community members, it gives an easy way for them to join, leave, or check the status of allowlists they have joined.
In your terminal: npm run build npm run server In NGROK: ngrok http 3000
/list create
/list initialize
/list status
/list join
/list close
In your Discord server: First, make sure you have the CollabLand Bot installed into your Discord server. You can find the bot here. https://collabland.freshdesk.com/support/solutions/articles/70000036689-discord-bot-walkthrough. Next, make sure the Test-Flight miniapp is downloaded from the marketplace. Type: /test-flight install /allow-list in discord. Copy and paste your link from NGROK where instructed. There are a few different commands.
- /list create - Run this command to start the process. This will link you to Spearmint. Follow the instructions on Spearmint to create your own project.
- /list initialize - This command connects your spearmint project with our Discord Bot miniapp. After entering your ProjectID, APIKey, Project name, and End Date, it will connect our Discord bot to Spearmint.
- /list status - This command is meant for the people who enter your allowlist draw to find out the status of their entry, whether that be selected, not selected, or still in the process of selecting winners. Creators of a project can run this command to be linked back to their Spearmint webpage where they can view the status of their project.
- /list join - This command is another way for community members to enter an open allowlist. It will provide a dropdown menu of all open allowlists and members can select which allowlist to join.
- /list close - This command allows for the list manager to close the allow list with the Discord Bot miniapp. It will provide a dropdown menu of all active allowlists and managers can select which allowlist to close.
- We plan on automating the closure of allow lists based on their inputted termination dates
- Currently, /list close only closes the list within the airtable. We hope to be able to close the spearmint allow list directly in the future.
- UI fixes where the collab.land bot will tell you you joined an already closed allow list.
- Will update our code in accordance to the spearmint API changes that we proposed.





