Back to blog

BetterAntispam TeamHow we write these6 min read

How to Set Up Auto Role on Discord (Step by Step)

Flow showing a new member joining with no roles, an optional verification step where autorole waits until they pass, then three roles given: Member, Announcements and Events, with the command /autorole role:@Member and a reminder that the bot role must sit above every auto role

To set up auto role on Discord, add a bot that assigns roles on join, then pick the role. Discord has no built-in setting that gives every new member a role. With BetterAntispam, it is one command: /autorole role:@Member. Then drag the bot’s own role above @Member in Server Settings → Roles, because a bot can only hand out roles that sit below its highest role. If you also turn on verification, the bot waits until each member passes before it gives the role, so raiders and bot accounts never get it.

Editorial disclosure: This guide is published by BetterAntispam. Discord’s own options come first because they are free and sometimes enough. Every bot behaviour below comes from BetterAntispam’s source code.

Flow showing a new member joining with no roles, an optional verification step where autorole waits until they pass, then three roles given: Member, Announcements and Events, with the command /autorole role:@Member and a reminder that the bot role must sit above every auto role

What is auto role on Discord?

An auto role is a role a member gets automatically, without a moderator clicking anything. It is almost always given on join (or right after verification) and is used to:

  • Unlock channels that @everyone can’t see, so new members have a clear “you’re in” moment
  • Sort the member list so members show in their own group
  • Opt everyone into announcement or event pings by default
  • Tell new members apart from verified ones while they settle in

It is different from reaction roles and self roles, where members choose roles from a message. Auto role is for the role everyone should have.

Can Discord give roles automatically without a bot?

Not to everyone. Discord has two native options that get close:

OptionHow it worksGood forThe catch
@everyone as your member roleSet the permissions you want new members to have on @everyoneSmall servers with no verificationEveryone has it instantly, including raiders. No way to tell new from trusted
Onboarding questionsCommunity servers ask new members questions; each answer can give roles and channelsLetting members pick interests and pingsMembers choose. It is not one fixed role for everyone. Community must be enabled
A bot auto roleThe bot gives the role the moment someone joins, or after they verifyA real “Member” role for everyoneThe bot’s role must sit above the auto role

My honest take: if your server is small, public and calm, @everyone is fine and you don’t need an auto role at all. Once you add verification or want a “new member” stage, use a bot. Onboarding works well alongside one: the bot gives @Member, and Onboarding handles the optional roles.

How to set up auto role with BetterAntispam

It takes about a minute. Core features are free.

  1. Invite BetterAntispam. Make sure its role has Manage Roles.
  2. Create the role if you don’t have it: Server Settings → Roles → Create Role, for example Member. Set its channel access now.
  3. Move the bot’s role above it. In Server Settings → Roles, drag the bot’s role (named after the bot) above Member. This is the step most people miss (more below).
  4. Run the command. In any channel, type /autorole role:@Member. You need Administrator to use it.
  5. Test it. Join with an alt or ask a friend to join. They should have Member within a second.

Give more than one auto role

Run /autorole with no options. You get a menu where you pick up to 25 roles. Everyone who joins gets all of them in a single update. The same menu shows what is set now, and has a button to turn autorole off.

Change or turn off auto role

  • Change it: run /autorole role:@NewRole, or open the menu with /autorole and change the picks.
  • Turn it off: run /autorole and press the button to turn it off. New members stop getting the roles. Members who already have them keep them.

Why isn’t my auto role working?

Nine times out of ten it is the role order. A bot can only give roles that are below its own highest role. Discord explains the hierarchy in Role Management 101. BetterAntispam checks this when you set the role and tells you if the role is too high, but if you move roles around later it can break silently.

Work through this list:

ProblemFix
Bot’s role is below the auto roleDrag the bot’s role above it in Server Settings → Roles
Bot lacks Manage RolesGive its role Manage Roles
The role is managed by an integration (a booster role or another bot’s role)Pick a normal role. Discord doesn’t let bots assign managed roles
You picked @everyoneEveryone already has it. Pick a real role
Verification is on and the member hasn’t passedWorking as intended. The role comes after they verify
The role was deletedSet a new one with /autorole
The role is above your highest roleOnly the owner can set a role above their own top role. Ask the owner or move the role

If you are not sure what a permission does, our guide to Discord permissions explained walks through each one.

Auto role and verification: do it in that order

An auto role given the instant someone joins also goes to every raider and bot account that joins. If your Member role unlocks your chat, a raid now has full access in the first second.

BetterAntispam handles this for you. When its verification is on, autorole does not run on join. The bot gives the auto roles after the member passes verification, alongside the verified role. When verification is off, autorole runs on join.

A setup I like for most community servers:

  1. @everyone can only see #rules and #verify.
  2. Members verify with a button or captcha. See how to set up a Discord verification bot.
  3. On passing, they get Member and your default ping roles from autorole.
  4. Onboarding, or a roles channel, lets them add interest roles afterwards.

It also stops a lot of the accounts covered in how to stop bots joining your Discord server before they ever see a channel.

Should the auto role have any dangerous permissions?

No. Treat your auto role like @everyone: everyone, including someone who joined thirty seconds ago, will have it. Keep these off on it:

  • Administrator, ever
  • Mention @everyone, @here and All Roles, the favourite of spam raids
  • Manage Messages, Manage Channels, Manage Roles, Manage Webhooks
  • Create Invite, if you want to control who can invite

BetterAntispam adds a guard here. If a staff member who isn’t the owner tries to set a role with Administrator as an auto role, the bot DMs the owner with Approve and Deny buttons and does nothing until the owner answers. This is the owner_consent option, and it is on by default. Only the owner can turn it off, with /autorole owner_consent:false. I would leave it on. An Administrator auto role hands your whole server to anyone with the invite link, and it is a common way servers get nuked.

Auto role vs reaction roles

Auto roleReaction roles / self roles
Who decidesThe server, for everyoneEach member, for themselves
WhenOn join or after verifyingWhenever the member chooses
Typical useMember, Unverified, default ping rolesGames, pronouns, regions, opt-in pings
Native in DiscordNo (bot needed)Partly, through Onboarding and Channels & Roles

Most servers want both: one auto role for everyone, and optional roles members pick.

FAQ

How do I make a bot give a role when someone joins?

Invite a bot that supports auto roles, then tell it which role to give. With BetterAntispam that is /autorole role:@YourRole. Make sure the bot’s role is above that role.

Can I give a role automatically after a certain time?

Discord can’t do this natively. Rules Screening in Community servers makes new members accept the rules before they can talk, but it does not give a role. BetterAntispam’s autorole runs on join or right after verification. It does not support a timed delay.

Does auto role work for members who joined before I set it up?

No. Auto role only runs for new joins. To give the role to existing members, Discord lets you add a role to a member from their profile or from the role’s Manage Members tab.

Does auto role give the role to bots that join?

It gives the role to any account that joins and is allowed in. If you don’t want bots to have your member role, create a separate role for bots and keep bot accounts out with anti-raid settings.

Is BetterAntispam’s auto role free?

Yes. /autorole, including picking up to 25 roles and waiting for verification, is part of the free plan.

Set it up now

Auto role is a small feature that makes a server feel finished: people join, the right channels open, and nobody waits on a moderator. Add BetterAntispam, run /autorole role:@Member, move the bot’s role above it, and turn on verification so only real people get in.

Core is free · Setup in Discord

Ready to protect your server?

Invite BetterAntispam. Core antiraid, antispam, and antinuke are free. Configuration is slash commands inside Discord.

BetterAntispam on Nick LaunchesFeatured on ToolFameFeatured on Startup FameVerified on DANG!ToolpilotFeatured on SaaSGrowFeatured on ShowMeBestAIFazierSubmit AI ToolsFeatured on Twelve ToolsFeatured on Wired BusinessFeatured on Findly.toolsListed on Turbo0Featured on SaaSFameFeatured on neeed.directoryFeatured on Dofollow.ToolsGood AI ToolsAI Agents DirectoryAura++SideProjectorsFoundrListShinyLaunchStartup FastNextGen ToolsFind-Us-HereDeepLaunchAcid ToolsStartupBaseNewToolUFindWhatsYourHoursOpenHuntsMarketingDBStartup InspireStarter BestFeatured on aitoolfame.comFeatured on IndieHuntShinyLaunchLaunched on LaunchPandaFeatured on WhatsthebigdataFeatured on Yo.directoryAs seen on Launch Llama Newsletterbetterantispam.com Domain RatingVerified DR - Verified Domain Rating for betterantispam.comFeatured on ToolfioBetterAntispam | Firsto LaunchFeatured on DailyPingsFeatured on DanielLaunchesFeatured on ShipBoostFeatured on AgentWork.ToolsFeatured on SaaSCityFeatured on WayfindioFeatured on DodoDirectoryFeatured on TinyLaunchpadFeatured on ListMySaaSVerified on directreeFeatured on Submit HuntFeatured on VibeCodingListFeatured on NoonlaunchFeatured on LaunchItListed on MaidensailVerified on Endors — BetterAntispamMarked on IndieAscentListed on CurlShipListed on PublishYourSaaS