/autoroles teams set
This command requires administrator permissions.
Give players on a specific team a role while they are in a match.
Usage
/autoroles teams set [teamname] [role]
Arguments
teamname: (Required) The team name the role applies to.role: (Required) Role given to that team's players while in a match.
Details
Maps a team name to a Discord role: whenever a match's teams are created, every player on the team with that name is given the role, and it is removed from them when the match ends or is cancelled. The name is matched case-insensitively against the team's display name (configured team names via /teamnames, captain names, or the default "Team 1"/"Team 2"). Set one mapping per team — for example roles "Red Team" and "Blue Team" for teams named Red and Blue. A team name has a single role and a role maps to a single team, so setting a name again replaces its previous role and reusing a role for a different team name moves it to that team. Team roles are only given in queues with two or more teams. You need a top role above the role you map (the server owner is exempt) and the bot's top role must be above it too. This can be combined with /autoroles teams temporary, which additionally creates a fresh temporary role per team each match.
Required Permissions
This command requires either:
- A configured NeatQueue Staff Role
- Manage Channels permission