Skip to content
Dylan Kentish

WorkThe Plague Discord

A private Discord for holders, and the gate in front of it.

The Plague wanted a private Discord that only its holders could enter. I built the gate: a website where a holder signs in with Discord, proves a wallet and is let in, and a bot that keeps the server in step with who holds what. It began strict, with members vouching for each other. In August 2026 it was opened up.

Problem

A Discord invite link can be passed to anyone. The Plague wanted a server that only its holders could enter, where holding was checked against the chain and kept checked, and where members answered for the people they brought in.

What I did

A website and a bot that share one database. On the website a person signs in with Discord and links a wallet by signing a message. The site then adds them to the server itself. The bot gives each member the role that matches what they hold, including tokens held through a delegated wallet, and takes it away when they no longer hold them. In the first version a new member also needed an existing member to vouch for them, by Discord name or by wallet address. Each member had a limited number of vouches, set by their tier. If someone you had vouched for was kicked or banned, you took a strike, and enough strikes cost you your place. Moderators ran all of this from commands inside Discord, and every action was written to an audit channel.

Built for The Plague through Built Labs. I built the website and the bot, and I was the only contributor until August 2026, when coding agents wrote the change to the access rules under my review. The collection, the brand, the rules and the moderation are The Plague’s.

Constraints

Discord is the system of record for who is in the server, and a moderator can act there without going near the website. Discord’s API fails and rate-limits like any other. And the rules were The Plague’s to set, so they changed while the thing was being built.

Decisions

  • The site adds a person to the server itself, using the permission they grant when they sign in with Discord. No invite link exists to be shared.
  • The bot does nothing inside a web request. A change becomes a job in a queue, and a worker carries it out. A failed call to Discord can be retried, and the queue shows what happened to it.
  • A kick or a ban made by a moderator in Discord is read back from Discord’s own audit log. It reaches the database, and the member who vouched, even though the bot did not perform it.
  • In August 2026 the rules were loosened. A holder’s role now follows what they hold and nothing else. Anyone who signs in can join, and nobody is removed automatically. Strikes now cost a member only the right to vouch.

Result

The first version was built in January and February 2026 as a vouched, holder-only gate. Since the August change it is an open door with holder roles, and I maintain it. The site is public at discord.plaguebrands.io. Without an account it is a sign-in page.

Sources

  • Public site

    The public page is titled The Plague Discord and asks you to sign in.

  • Private repository

    The history of the access rules comes from the project’s repository, which is private: the first commit on 5 January 2026, vouching required from 5 February, the holding check on 17 February, and the change to open joining on 27 August. Checked on 2026-11-20.

Reflection

Most of the work went into the vouching and the strikes, and those are the parts that stopped mattering when joining no longer needed a vouch. The part that stayed is the simplest: a role that follows what you hold.

Technical notes

A pnpm and Turborepo monorepo in TypeScript. The website is Next.js with NextAuth, Discord sign-in and Sign-In with Ethereum, deployed on Vercel. The bot is discord.js, run as a worker on Heroku. Both use Postgres through Prisma.

Skills

TypeScript, Next.js, discord.js, Sign-In with Ethereum, Postgres, Heroku

Related