Skip to main content

/reactionroles add

Admin Command

This command requires administrator permissions.

Specify roles to assign when users react to the message.

Usage​

/reactionroles add [channel] [message_id] [role] [reaction] (remove_others) (queue_role)

Arguments​

  • channel: (Required) Channel where message is.
  • message_id: (Required) Message to add reaction to.
  • role: (Required) Role to assign/remove.
  • reaction: (Required) Reaction that corresponds to this role.
  • remove_others: (Optional) If the user has this role, remove all other reactionroles in the message they have.
  • queue_role: (Optional) Option role for /roles that the user will default to.

Details​

Maps an emoji on a message to a role. The bot adds the emoji to the message itself, so it needs access to the message and the emoji must be a standard emoji or one the bot can use from this server. When someone reacts with it they are given the role and sent a DM saying so; when they remove their reaction the role is taken away again. People who reacted before you ran the command are not given the role. Run the command once per emoji on the same message to build a menu; running it again for the same message and emoji replaces that mapping. With remove_others, giving the role also removes the player's other reaction roles from the same message. With queue_role, reacting also sets the player's preferred queue role (the same setting as /role), and removing a reaction role clears the player's preferred queue role whether or not queue_role was set. There is no command to delete a mapping: it is removed automatically when the message is deleted or all of its reactions are cleared. The bot's top role must be above the reaction role.

Required Permissions​

Permission Required

This command requires either:

  • A configured NeatQueue Staff Role
  • Manage Channels permission