Skip to content
memberarea memberarea.io

Connect Discord

Connect your Discord server with the MemberArea bot, assign roles on purchase and remove them when a subscription ends, let members link their Discord account and post messages to channels.

In this article

With Discord, your automations assign roles on your Discord server as soon as a member buys, and take them away again when a subscription ends or a payment is refunded. Automations can also post messages to your channels.

Two kinds of connection

Connection What it can do
Server with the MemberArea bot Assign and remove roles, add members to the server automatically, post messages to any channel.
Webhook Only post messages to the channel the webhook belongs to.

Roles need the bot connection. An existing webhook connection keeps working as before.

Connect your server with the bot

  1. Open Settings, then Integrations, and click Add integration.
  2. Choose Discord, stay on the OAuth tab and click Connect.
  3. In Discord, pick your server and confirm the permissions. You need the Manage Server permission on that server.

The server then shows up under its name in your integrations.

Important

The bot can only assign roles that sit below its own role. In Discord, open Server Settings, then Roles, and drag the MemberArea role above every role your automations should assign. Only those roles appear in the automation editor.

So that a role reaches the right Discord account, each member connects their account once:

  • under My Profile, in the Discord card, with Connect Discord, or
  • with the link you copy in the Discord integration under Link for your members. Put it in your welcome email or on the thank you page.

After connecting, MemberArea adds the member to your server automatically. Roles that were assigned before follow right away. If a member disconnects Discord, they lose the roles from their membership on the server.

Actions in automations

Action What happens
Assign Role Gives the member the chosen role. If they have not connected Discord yet, MemberArea remembers the role and assigns it when they connect.
Remove Role Takes the role away again, even if the member has disconnected Discord in the meantime.
Send Message Posts a message to the chosen channel. Placeholders such as `[

Ready-made templates are under Automations, New automation: Purchase → Discord role, Subscription ended → remove Discord role and New order → Discord message.

When something does not arrive

  • The run says the bot may not change the role. The MemberArea role sits below the role it should assign. Drag it up in the server settings.
  • The run says the member has not connected Discord yet. This is not an error. The role follows as soon as the member connects Discord.
  • The bot is no longer on the server. Someone removed it. Connect the server again under Settings, Integrations.
  • A Discord account is already taken. Each Discord account belongs to exactly one member in your member area. The member signs in to Discord with their own account and connects again.

Last updated on November 8, 2026

Was this article helpful?

Related articles