Ammit Portal
Shop Sign in
Feature overview

Activity roles

Automatically give or remove roles based on member activity.

At a glance

Availability
Free, with Premium options
In the portal
Engagement › Activity roles
Rules run
Every hour

Overview

Activity roles assign or remove a role according to each member's recent activity. For example, you can mark members who have been inactive for 30 days, or distinguish those who write and spend time in voice every month.

The page also offers the record of games played by your members, shown in the server's Statistics.

How it works

Each rule combines a condition, a period in days, and a role. Ammit applies the rules every hour. A member who meets the condition receives the role. A member who no longer meets it loses it.

ConditionThe role is assigned when
Inactive forThe member sent no messages and did not join a voice channel at any point during the period. A member who joined more recently than the length of the period is never considered inactive.
Active overThe member reached both the Minimum number of messages and the Minimum minutes in voice during the period. A minimum left at 0 is ignored.
  • The rules rely on the server's statistics. If you turn them off, no rule applies any more and the page tells you so.
  • Bots are never affected.
  • Ammit makes at most 100 role changes per run. The others wait for the next run.
  • If a rule's role no longer exists, or if Ammit cannot assign it, the rule is ignored.
  • With Premium, a rule can notify the member by private message when they receive the role.
  • Each run that changes roles is noted in the server's Event log.

In the free version, only the Inactive for rules without a private message apply, within the limit of your plan. With Premium, all active rules apply, including the Active over rules.

Games and applications

With Premium, the Game and application activity option records the time your members spend on the games shown in their Discord status, under the Playing label. These figures appear on the Statistics page, Voice tab, and on each member's statistics sheet. They are kept for a year. This record does not assign any role.

Only members who show their activity in their status are counted. The option only appears if Ammit's administrator has enabled access to member statuses.

Configuration

In your server's menu, open Activity roles, in the Engagement section. The page has no general switch. Each rule is turned on or paused separately.

Screenshot taken on the “Les Gardiens du Nord” demo server.
  1. Create the role to assign in Discord, then place it below Ammit's role.
  2. In the Configured rules card, click Create a rule.
  3. Under Create an activity rule, enter the Rule name, then choose the Condition, the Period (days) and the Role to give.
  4. For the Active over condition, enter the Minimum number of messages, the Minimum minutes in voice, or both.
  5. With Premium, tick Notify the member by private message when the role is assigned if you wish.
  6. Click Add the rule.

The period ranges from 1 to 365 days, and from 1 to 90 days for the Active over condition.

The rules table shows, for each one, its condition, its role, its last run with the number of changes, and its status. The Pause button stops a rule without deleting it. The Activate button puts a paused rule back into service. A rule marked Premium is saved, but it does not apply without Premium. The Apply the rules now button starts a run straight away, without waiting for the next hour.

For the game report, turn on the Game and application activity option, in the Games and applications card, then click Save.

Settings

Games and applications

SettingDescriptionDefault value
Game and application activityPremiumThe bot administrator must have enabled access to member statuses.Disabled

Usage

Roles change without any action from your members. For example, a rule Inactive for 30 days with an Inactive role marks absent members. As soon as one of these members writes or joins a voice channel, they lose the role on the next run.

With Premium, an Active over 30 days rule with a minimum of 100 messages singles out your most active members. The private message sent to the member shows the server, the role, the rule's name, and its condition.

Required permissions

To assign and remove roles, Ammit needs the Manage Roles permission. A rule's role must be placed below its own, grant no sensitive permission and not be a role of the moderation, support or approval teams. Integration roles are not offered. The selector greys out roles that do not meet these conditions.

In the portal, the server owner and administrators configure this page. The access of other roles and members is set in Team and access. This feature has no Discord command.

Free version and Premium

FeatureFreePremium
Activity rulesOne simple rule, based on inactivity1Unlimited
Combined activity rules (messages, voice) and notificationsNot includedIncluded
Game and application activityNot includedIncluded

Limits

  • Ammit needs the full list of the server's members. When Discord does not provide it, the run is postponed to the next hour.
  • The direct message does not arrive if the member refuses direct messages from the server.
  • The game report only counts the play time shown in the status. It sees neither the music listened to nor streams.

Frequently asked questions

Why are my rules not being applied?

First check that the server's statistics are turned on. A rule also does not apply if it is paused, marked Premium, or if its role is placed above Ammit's.

Why does a member keep the inactive role even though they have come back?

The rules apply once an hour. The role will be removed from them on the next run, or straight away with the Apply the rules now button.

Learn more