Docs/warrant

Overview

warrant gives a role to members who rep your server's vanity in their status.

1 min read

What warrant is

warrant is felony's companion bot for vanity roles. It watches members' custom statuses, and anyone repping your vanity (like /felony or felony.lol) gets your vanity role for as long as it stays in their status. Take it out and the role goes.

It's a separate bot on purpose. Watching statuses needs Discord's Presence intent, the noisiest event stream there is, so warrant carries that load and felony stays fast.

How it decides

  • warrant reads the member's custom status only, not their bio, name or activity.
  • The server's vanity counts automatically, written as /name, .gg/name or discord.gg/name.
  • Extra phrases you add with /vanity add count too. Matching ignores upper and lower case.
  • Members who are offline keep the role. It's only removed once their status changes and no longer reps.
Your server needs a vanity URL (Level 3 boosts) for the automatic match. Without one, add phrases with /vanity add and warrant works just the same.