Autorole and reaction roles
AutoRole gives or removes roles automatically when something happens, and reaction roles let members pick roles by reacting to a message.
What it does
#Solara has two ways to hand out roles without doing it by hand.
AutoRole
#AutoRole runs rules. Each rule has:
- A trigger: the event that starts it.
- Conditions (optional): checks that must all pass. With no conditions, the rule always runs.
- Actions: what Solara does, in order. A rule needs at least one.
Triggers:
- Member Joins Server
- Role Added and Role Removed (a specific role, or any role if you leave it blank)
- Member Starts Boosting and Member Stops Boosting
- Member Levels Up (any level-up, or only when the new level is at least, exactly or at most a level you pick; see Leveling). It only fires when a level goes up: an admin lowering or resetting a level doesn't fire it. "Exactly" counts when the member passes that level on the way up, so a jump from 9 to 11 counts for "exactly 10".
- Economy Milestone (a wallet crosses 1,000, 10,000, 100,000, 1,000,000 or 10,000,000 when coins come in:
/daily,/work, a successful/crimeor/rob, a/payreceived, or/economy admin add; moving money out of the bank with/economy withdrawdoesn't count; see Economy) - Server Anniversary (a number of days after the member joined, checked once a day at 12:00 UTC)
- Message Count Milestone (a member's message count reaches a number)
Conditions: Has role, Does NOT have role, Has any role (OR), Has ALL roles, Account age, Time in server, Is human, Is bot, Username matches, Level ≥, Level ≤, Balance ≥, Balance ≤, In channel and Not in channel.
Username matches checks whether the member's username or display name contains, starts with or ends with the text you type (up to 64 characters). Capital letters don't matter. Symbols such as . and * are matched exactly as typed; they are not wildcards. Spaces count too, so check for a stray space at the start or end.
Actions: Add role, Remove role, Add multiple roles, Remove multiple roles, Toggle role, Set nickname, DM member and Log to channel. Set nickname, DM member and Log to channel can use {user} or {mention}, {username}, {display} (their display name), {guild}, {id} and {membercount}.
Rules run in priority order, lowest number first (the default is 100). Role changes Solara makes itself don't start Role Added or Role Removed rules, so rules can't loop.
Reaction roles
#A reaction role setup is a message with emoji. Members react with an emoji to get its role. Each setup has a mode:
- Multiple roles: members can pick as many as they like.
- One role only: picking a new role removes the others from that message.
- Verify once: Solara gives the role, then removes the member's reaction. The member keeps the role; Remove on unreact doesn't apply to this mode.
You can also set Max roles (reactions past the limit are removed) and Remove on unreact (taking the reaction off takes the role away). Solara removes reactions with emoji that aren't in the setup. Members can pick several emoji in a row; only repeating the same emoji within 2 seconds is ignored.
Solara can post its own message for the setup, or add the reactions to a message that's already in the channel. It never edits the text of an existing message.
Both
#Solara never gives a role that has Administrator, Manage Server, Manage Roles, Manage Channels, Manage Webhooks, Ban Members, Kick Members or Timeout Members, a role managed by a bot or integration, or a role at or above its own highest role. Solara needs Manage Roles to give roles. AutoRole also never takes away a role with one of those permissions.
Unless you're the server owner or an Administrator, you can only pick roles below your own highest role that don't control access in Solara. See Which roles a manager can pick.
Commands
#AutoRole rules are built on the dashboard. These commands look at them and switch them on or off:
| Command | What it does |
|---|---|
/autorole list | Lists up to 20 rules with their number, trigger, run count and priority. |
/autorole view <rule_id> | Shows one rule in full, in plain words with role and channel mentions: the trigger ("When a member levels up to level 10 or higher"), each condition ("Has @Verified", "Discord account is at least 7 days old") and each action ("Give @Veteran"). A setting that's missing shows "(its settings are incomplete)". Only the Message Count Milestone trigger has a channel, so on any other trigger "In channel" says it never passes and "Not in channel" says it always passes. |
/autorole enable <rule_id> | Turns a rule on. |
/autorole disable <rule_id> | Turns a rule off. |
/autorole test <rule_id> <member> | A dry run: shows whether the rule would match the member and what its actions would do. Nothing changes. The rule must be turned on. |
The rule number is the one /autorole list shows, not a role ID. The prefix versions work too, like ?autorole list.
What you'll see: /autorole list posts the list in the channel; everything else answers only you. With no rules yet, /autorole list says "No autorole rules yet" and points to the dashboard's AutoRole page. A wrong rule number gives a red "Rule #7 wasn't found in this server." In a /autorole test result, a step that broke shows "failed (details in the bot log)" instead of the bot's internal error. Discord's command picker shows a short description for each command and option.
Reaction roles have no commands. Set them up on the dashboard.
On the dashboard
#AutoRole page: your rules, with #, Name, Trigger, Priority, Runs and Last run. Each rule has Enable/Disable, Edit and Delete. New rule opens the builder:
- Basics: the Enabled box, Name, Priority and Description.
- Trigger: pick the Event and fill in its settings.
- Conditions: Add condition for each check.
- Actions: Add action for each step.
Click Create rule (or Save changes). The History button shows every time a rule was checked: whether it matched and what each action did. An action that shows "Discord didn't confirm the change. It may still have gone through: check the member in Discord." means Discord didn't answer in time, so Solara can't say whether the role or nickname changed. You can filter by Matched, Rule ID and User ID. History older than 90 days is deleted.
Reaction Roles page: tiles for Setups Used, Active Messages, Pending / Failed and Total Assignments. Create Setup opens the editor:
- Setup name, Channel and an Internal note.
- Mode, Max roles (empty means no limit) and Remove on unreact.
- Attach to an existing message, with the Existing message ID. Leave it unticked to have Solara post its own message.
- Role mappings: an emoji, a role and an optional short label for each.
- Message builder (for Solara's own message): Title, Accent color, Description, Thumbnail URL, Image URL, Footer text, Footer icon URL, Fields and Show timestamp, with a Live preview. The message has to fit Discord's limits (title up to 256 characters, description up to 4,096, footer up to 2,048, at most 25 fields, 6,000 characters in total) and links must start with
https://orhttp://. If it doesn't, Save says which part is wrong instead of saving a setup that would fail to post.
Each setup shows its status: Active, Pending, Failed, Message deleted or Draft. Use Retry deploy after a failure, or Redeploy message if the message was deleted.
Who can use it
#- The
/autorolecommands: people with Manage Server to start with. - The AutoRole and Reaction Roles pages: people who manage Community (the owner, Administrators, Manage Server, and anyone given "Manage Community").
- Reacting to get a role: anyone who can see the message and react.
Server admins can change who can use the commands with rules. See Permissions. AutoRole and Reaction Roles can each be switched off on Modules & Permissions, under the Community card (see Modules and switches).
Common questions
#My join rule gave a role to a bot. Member Joins Server runs for bots too. Add the Is human condition.
My Message Count rule hasn't fired for people who chat a lot. Solara only counts messages while at least one Message Count Milestone rule is turned on, so counts start from when you added the first one.
Someone deleted my reaction role message. The setup is kept and shows Message deleted. Click Redeploy message to post it again.
If I delete a reaction role setup, do members lose their roles? No. Roles already given stay on members.
How many reaction role setups can I have? The Setups Used tile shows your count and limit. See Plans and limits.
A member reacted twice quickly and nothing happened. Solara ignores reactions from the same person on the same message within 2 seconds of the last change. Have them react again.


