Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Roles

Give customers a Discord role for their active services, or a role per node.

On this page

Roles need the bot: fill in Discord Bot Token and Discord Guild (Server) ID first. In your Discord server, the role of the bot must be above every role it hands out.

A role for customers with a service#

  1. Create the role in your Discord server and copy its ID.
  2. Turn on Enable Service Role Assignment.
  3. Paste the ID under Discord Role ID.
  4. Choose which services count with Include Free Services and Include Paid Services. Free services have a price of 0.

A customer with at least one active service that counts gets the role. When their last one stops being active, the role is removed.

A role per node#

Give customers a role for each node their services run on.

  1. Turn on Enable Node-Based Role Assignment.

  2. Fill in Node -> Discord Role Mappings with one mapping per line, as node_id:discord_role_id:

    1:123456789012345678
    2:234567890123456789
    
  3. Leave Node Property Key on node, unless your server extension stores the node under another service property. Discord Link also checks node_id and the node fields of the server.

A customer with services on more than one node gets every matching role.

When roles are updated#

Roles are checked when:

  • a customer links their account,
  • a service is created or deleted,
  • the status or the price of a service changes.

Every role change is listed under Social in the admin panel, in the role history.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.