Skip to main content

Automating Access by Membership Status

Once a tier is linked to a Discord role, PayBru handles the role changes for you.

Lifecycle Events

PayBru updates roles when membership status changes.

EventWhat PayBru Does
New subscriptionAssigns the mapped Discord role within seconds.
Tier upgradeUpdates the member's Discord role to match the new tier.
Tier downgradeSwaps roles to match the new tier.
Renewal (successful payment)Role stays in place - no action needed.
Payment failureMembership moves to PastDue status. Roles stay in place for 3 days. If payment is not recovered, roles are removed.
Voluntary cancellationRole access is removed according to the membership access rules.
Refund / chargebackRole is revoked immediately.

How the Sync Works

  1. A membership event fires on PayBru (e.g., new subscription).
  2. PayBru checks the Discord role mapped to that tier.
  3. PayBru asks Discord to add or remove the role.
  4. The member's Discord permissions update instantly.

The first update usually happens within seconds. Larger servers can take longer when Discord rate limits role changes.

When Access Ends

When a membership expires or is cancelled:

  • Roles connected to the lost membership tier are removed.
  • The member loses access to any channels restricted to removed roles.
  • The member remains in the server - they are not kicked automatically.

Automatic Checks

PayBru runs background checks to keep roles accurate:

ServiceIntervalPurpose
Role syncEvery 5 minutesChecks active members against their expected roles and corrects mismatches.
Member count syncEvery 30 minutesUpdates community member counts displayed on dashboards.
Ban syncEvery 5 minutesSynchronizes ban lists across connected communities.
Health checkEvery 30 minutesVerifies bot permissions are intact.
Membership expiry checkEvery 1 hourRemoves roles after the 3-day grace period ends.

Manual Checks

If a role still looks wrong after the next sync, open Settings > Integrations > Connection and refresh the bot status. Then check the member's tier in Members and the tier's Discord step in Tiers.

Notifications

Enable Discord Sync Notifications in your integration settings if you want role change summaries in a channel.

See also: