Skip to main content
Righteous

Give a role to anyone who puts your invite in their custom status, and thank them for it.

A member puts your invite code in their Discord custom status, and the bot gives them a role for as long as it stays there. When they change or clear it, the role comes off. This is Server Premium, every subcommand needs Manage Roles and Manage Server, and you can set up to four codes per server.

Set up the role

,statusroles add pairs an invite code (15 characters or fewer) with a role. The code is matched anywhere in the status, so join gg/righteous, it's great matches gg/righteous.

Syntax

,statusroles add <invite code> <role>

Example

,statusroles add gg/righteous Supporter

Dangerous roles are refused

The role is handed out with no human in the loop, so one carrying Administrator, Ban Members, Kick Members or any Manage permission is refused, and so is one above the bot. Use a cosmetic role.

,statusroles list shows what you have set and ,statusroles remove takes a pair off.

Thank them for it

Nothing is posted by default. Point the bot at a channel and it announces with a built-in message.

Syntax

,statusroles channel <channel>

Example

,statusroles channel #general

You can also set the channel on the Premium page of the config panel.

Write your own message

Syntax

,statusroles announce set <message>

Example

,statusroles announce set thanks for repping us, {user.mention}

The message takes the full embed code syntax. On slash, set opens a text box prefilled with your current message.

CommandDoes
Shows the channel and the message in use
Replaces the message
Back to the built-in message, keeps the channel
Clears the channel, so nothing is posted

To stop the posts you want off, not reset.

What gets announced

One post goes out when a member earns the role. Losing it is silent, two codes matched at once is still one post, and a role the bot couldn't actually give (above the bot) is never announced.

Common issues

The role is never given. Only a custom status counts, not Spotify or a game, and the member can't be offline. Check ,statusroles list: the code is matched literally.

The role is given but nothing is posted. No channel is set. ,statusroles announce view says so.

Nothing works at all. Status roles need Server Premium. See premium tiers and common issues.