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#
- Create the role in your Discord server and copy its ID.
- Turn on Enable Service Role Assignment.
- Paste the ID under Discord Role ID.
- 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.
-
Turn on Enable Node-Based Role Assignment.
-
Fill in Node -> Discord Role Mappings with one mapping per line, as
node_id:discord_role_id:1:123456789012345678 2:234567890123456789 -
Leave Node Property Key on
node, unless your server extension stores the node under another service property. Discord Link also checksnode_idand 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.