Discord StreamGuardian

Discord StreamGuardian

Stream with Superfluid, Unlock exclusive content and perks on Superfluid Stream Gated Discord Channel with your crypto wallet

305

The problem Discord StreamGuardian solves

This project aims to gate a Discord server/channels with Superfluid streams. Exclusive channel content and perks can be accessed by users who are streaming super tokens to the server admin account through the Superfluid protocol. This project also includes periodic checks to ensure that all users with the streamer role are actively streaming to our server admin. If a user's stream is terminated or their flow rate is reduced, The bot will automatically remove the streamer role from their account to prevent them from accessing our exclusive channels and perks until they start streaming again.

Steps to try it out :

  1. Join the TechNow Discord Server: https://discord.gg/JEMFf5ux5M

  2. Make sure you are streaming a minimum of 0.5 DAIx/month to 0x7348943c8d263ea253c0541656c36b88becd77b9 on goerli if you wanted to access exclusive stream gated channels.

  3. Open the #⁠start-here channel on discord server.

  4. Type the command /verify in the channel.

  5. Our bot will send you a link to connect your wallet and sign a message.

  6. After you sign the message, the bot will verify if a minimum of 0.5 DAIx/month stream is present between your wallet address and the server admin address.

  7. If the stream is present, you will be assigned the streamer role and gain access to the exclusive channels and perks on the server. If the stream is not present, you will still be assigned the member role, which will allow you access to the ⁠#general channels on the server.

Challenges I ran into

I faced some challenges while working on this project. One of them was making the bot respond to commands and sending ephemeral messages. I also encountered permission issues with the Discord API. Another challenge was figuring out how to authorize with a wallet, as there were not many implementations available. Overall, the project required some effort and problem-solving skills, but it was a good learning experience.

Discussion