PFP Filter
The PFP (profile picture) filter analyzes user avatars to detect known scam profile pictures. This catches accounts using fake Nitro giveaway images, staff impersonation avatars, and other recognized malicious profile pictures. Servers can also build their own per-guild blocklist of profile pictures using slash commands and context menus.
- Default state: Disabled
- Default action: ALERT
- Required tier: Check thrella.com or Dashboard > Billing for plan requirements
How It Works
Thrella compares user profile pictures against a maintained database of known malicious images. The comparison focuses on the visual content of the image rather than exact pixel matching. This means the filter can identify scam avatars even if they have been slightly resized, recompressed, or had minor adjustments applied.
Profile pictures are scanned at three points:
- Member join -- When a user joins the server, their avatar is immediately scanned.
- Avatar change -- When an existing member changes their profile picture, the new avatar is scanned in real time via a Redis-backed dedup system that detects avatar hash changes.
- Activity-based (opportunistic) -- When a member sends a message or uses a slash command, their current avatar is checked against a dedup cache. If the avatar hasn't been scanned recently, an opportunistic scan runs in the background. This catches avatar changes that may have been missed during bot downtime.
Members with a trusted role bypass PFP scanning.
What It Detects
The global database of known malicious images includes:
- Fake Nitro giveaway avatars -- Images designed to look like official Discord Nitro promotions
- Staff impersonation -- Profile pictures mimicking Discord staff or Trust & Safety team members
- Known scam account avatars -- Profile pictures associated with widespread scam campaigns
In addition, each server can maintain its own per-guild blocklist of profile pictures. This allows you to block avatars specific to your community's needs (impersonation of your staff, inappropriate images, etc.).
Per-Guild Blocked PFPs
Managing Blocked PFPs
You can view and manage all blocked profile pictures from the dashboard. Go to Dashboard > Security, expand the PFP Filter card, and click Manage Blocked PFPs. This page shows every blocked avatar with its category, the target user, who blocked it, and when. Click any row to expand it and see the avatar preview and additional details. You can remove blocks directly from this page.
See Blocked PFPs Dashboard Page for a full guide.
Blocking a Profile Picture
There are three ways to block a user's profile picture:
/pfp-block Slash Command
/pfp-block user:@username category:scam
| Option | Required | Description |
|---|---|---|
user | Yes | The user whose profile picture to block |
category | No | Category for the blocked image: Scam, Impersonation, NSFW, or Custom. Defaults to Custom. |
action | No | Override action for this PFP. Choices: Server Default, Log Only, Alert Staff, Warn, Timeout, Kick, Ban. Defaults to Server Default. |
/pfp-unblock Slash Command
/pfp-unblock user:@username
Removes the user's current profile picture from the server's blocklist. If the user has changed their avatar since it was blocked, this command targets their current avatar.
"Block PFP" Context Menu
Right-click any user (or tap their name on mobile) and select Apps > Block PFP. This blocks their current profile picture with the category set to "custom". This is the fastest way to block a profile picture during active incidents.
Required Permissions
All blocking commands require the Manage Server permission. The PFP filter feature must be enabled on the server's subscription plan.
PFP commands (/pfp-block, /pfp-unblock, and the "Block PFP" context menu) only appear in your server when the PFP filter is enabled on the Security page. If you disable the filter, the commands are automatically removed from your server's command menu. They will reappear when you re-enable the filter.
Tier Limits
The number of per-guild blocked profile pictures is limited by your subscription tier. When you reach the limit, blocking commands will inform you and suggest upgrading. For current limits, check Dashboard > Billing or visit thrella.com.
You can always remove existing blocked PFPs with /pfp-unblock to make room for new ones.
Per-Hash Action Overrides
Each blocked PFP can have its own action override, allowing different enforcement for different avatars. For example, you might kick for impersonation avatars but ban for known scam avatars.
Setting an Override
Via command:
/pfp-block user:@scammer category:scam action:Ban
The action option accepts: Server Default, Log Only, Alert Staff, Warn, Timeout, Kick, or Ban. Choosing "Server Default" (or omitting the option) means the guild-wide PFP filter action is used.
Via dashboard:
On the Blocked PFPs page, each row has an Action dropdown. Change it to override the action for that specific hash, or set it to "Default" to use the guild setting.
Fallback Behavior
- When a blocked PFP has no override (set to "Default"), the guild-wide PFP filter action from the Security settings page is used.
- Global hashes (maintained by the Thrella team) always use the guild default action -- they do not support per-hash overrides.
- The guild-wide setting on the Security page is now labeled Default Action to clarify its role as the fallback.
Enforcement Behavior
The configured filter action (or the per-hash override, if set) determines what happens when a match is detected. Because the PFP filter operates on avatars (not messages), the "DELETE" portion of actions like DELETE_KICK refers to the enforcement action only -- there is no message to delete.
Action Behavior for PFP Detections
| Action | Alert | DM | Punishment | Case |
|---|---|---|---|---|
| LOG_ONLY | Yes | No | None | No |
| ALERT | Yes | No | None | No |
| DELETE / DELETE_WARN | Yes | Warning DM | None | No |
| DELETE_TIMEOUT | Yes | Mute DM | 10-minute timeout | MUTE |
| DELETE_KICK | Yes | Kick DM | Kick | KICK |
| DELETE_BAN | Yes | Ban DM | Ban | BAN |
All actions send a detection alert to the configured alert channel (if set) and record a SUSPICIOUS_PFP_DETECTED audit log entry.
Enforcement Loops
The interaction between filter actions and Discord gateway events creates natural enforcement behavior:
- Kick (recommended for continuous enforcement) -- The user is kicked, and when they rejoin,
guildMemberAddfires and their PFP is re-scanned. If the blocked avatar is still in use, they are kicked again. This effectively prevents the user from participating until they change their profile picture. No scheduler or cron job is needed. - Ban -- Permanent removal. The user must appeal through the appeals system if enabled.
- Timeout -- The user is muted for 10 minutes. If they change their avatar while timed out, the new avatar is scanned. However, if the timeout expires and the avatar is unchanged, there is no automatic re-timeout (Discord does not emit an event for timeout expiry).
- Warn / Alert / Log -- One-time notification only. The user is not restricted.
Kick is the best action for "block until they change their avatar" behavior. The gateway event loop handles enforcement automatically.
Configuration
- Ensure your guild is on a plan that includes the PFP filter feature (check Dashboard > Billing)
- Navigate to Dashboard > Security > PFP Filter
- Enable the filter
- Set the desired filter action (defaults to ALERT)
- Use
/pfp-blockor the "Block PFP" context menu to add server-specific blocked avatars
Since the PFP filter defaults to ALERT, enabling it will initially only send notifications to your alert channel without taking any automated action against users. This allows you to evaluate detections before escalating to a more aggressive action level.