/pfp-block
Block a user's current profile picture so that the PFP filter will flag it on future scans. The blocked image is specific to your server and does not affect other servers.
Required Permission
The user executing the command must have the Manage Server permission. The PFP filter feature must be enabled on the server's subscription plan.
Options
| Option | Required | Description |
|---|---|---|
user | Yes | The user whose profile picture to block. Select from the user picker or type a username. |
category | No | Category for the blocked image. Choices: Scam, Impersonation, NSFW, Custom. Defaults to Custom. |
action | No | Override action for this specific PFP. Choices: Server Default, Log Only, Alert Staff, Warn, Timeout, Kick, Ban. Defaults to Server Default. |
Behavior
- Feature check -- Verifies the PFP filter feature is available for your server's subscription tier.
- Tier limit check -- Checks whether the server has reached its maximum number of blocked profile pictures. If the limit is reached, the command returns an error suggesting an upgrade.
- Image analysis -- Fetches the user's avatar and generates a visual fingerprint. This allows detection even if the image has been slightly modified.
- Duplicate check -- If the exact image is already blocked for this server, the command informs you instead of creating a duplicate entry.
- Storage -- The hash is stored in the database, linked to your server. The guild's blocked PFP cache is invalidated so the new entry takes effect immediately.
- Confirmation -- An ephemeral embed is shown with the blocked user, category, hash, and current count.
Context Menu Alternative
You can also block a profile picture by right-clicking a user (or tapping their name on mobile) and selecting Apps > Block PFP. This performs the same operation with the category set to "custom". This is faster for quick blocking during active incidents.
Per-Hash Action Override
The action option lets you assign a specific enforcement action to this blocked PFP, overriding the guild-wide default. For example:
/pfp-block user:@scammer category:scam action:Ban
/pfp-block user:@impersonator category:impersonation action:Kick
When set to Server Default (or omitted), the blocked PFP uses whatever action is configured in Dashboard > Security > PFP Filter > Default Action. When set to a specific action, that action is used regardless of the guild default.
You can also change the action later from the Blocked PFPs dashboard page using the inline dropdown.
Notes
- The command targets the user's current avatar. If they change their avatar later, the old hash remains blocked but the new avatar is not automatically blocked.
- Blocked PFPs are per-guild. Blocking an avatar in one server does not block it in another.
- The response is ephemeral (only visible to you) to avoid cluttering the channel.