Miscellaneous

Swear Jar

Count the swears in your server, with alerts and leaderboards, without deleting anything.


Note:

Set this up

Set this up on the dashboard under Community › Swear jar.

Type / in Discord to find the slash version of a command. Prefix commands keep working until March 5, 2027. What is changing

Overview

The Swear Jar counts swears in your server for fun. Nothing is deleted and nobody is punished: every swear just goes in the jar, greed lets the member know, and the leaderboards show who has the dirtiest mouth.

greed catches the usual tricks, such as numbers or look-alike letters in place of normal ones (sh1t) and stretched words (fuuuck), but it doesn't flag normal words that happen to contain a swear, such as "assist" or "Scunthorpe". Different forms of one swear count as the same word. Slurs are deliberately not counted.

The Swear Jar is free and off by default.

Setting it up

  1. Turn it on

    Run /swear toggle. greed starts counting straight away.

  2. Choose the alert

    Run /swear edit to pick how greed tells members: a 🫙 reaction (the default), a reply in the channel, or a post in a log channel.

  3. Exclude what you don't want counted

    In the same settings, add any channels or roles the jar should ignore.

You need the Manage Server permission to set it up. Every setting is also in /configure → Fun → Swear jar and on the dashboard.

Commands

Turn it on or off

/swear toggle
/swear enable
/swear disable

Turning the jar off keeps every count.

Open the settings

/swear edit

Opens the Swear jar page of /configure, where every setting below lives.

Profile

/swear profile [member]

Shows a member's swears in this server and everywhere, with their rank for each, their top words and when they last swore.

Leaderboards

/swear leaderboard [scope]

On its own, the leaderboard ranks members of this server. With global, it ranks members across every server that has the Swear Jar on.

Note:

Global numbers, in the profile, the global leaderboard and the {swear.count} and {swear.rank} variables, add up every server where the jar is on, so they include swears from other servers.

Reset

/swear reset [member]

Empties one member's jar in this server, or with no member, the whole server's jar. greed asks you to confirm first, and it cannot be undone.

Variables

/swear variables

Lists the variables a custom alert can use.

Tip:

Every command also works with the prefix, as ,swear or ,swearjar: for example ,swear profile @adam.

The Swear Jar has to be on for profile and leaderboard to work, including leaderboard global.

Settings

How greed tells members their swear was counted:

  • React to the message with the reaction emoji. This is the default.
  • Reply in the channel with the alert message.
  • Post to a log channel: the alert goes to the log channel you pick instead. Turn on Also react in log mode to react on the message as well.

To keep busy channels readable, greed alerts each member at most once every 8 seconds and sends at most a few alerts per channel at a time. Every swear is still counted.

The emoji used for the reaction. 🫙 by default.

Your own message for replies and log posts, as a script with the variables below. Leave it empty to use greed's own message.

Delete the alert by itself after up to 300 seconds. 0 keeps it.

Up to 25 channels and 25 roles whose messages are never counted.

Bots and webhooks are never counted. Each message counts up to 5 different swears.

Variables

Use these in a custom alert message, together with the usual {user.*}, {guild.*} and {channel.*} variables. {user.*} is the member who swore.

VariableDescription
{swear.word}The swear that was detected
{swear.count}The member's swear count across every server
{swear.rank}The member's global rank
{swear.top}The member's most used swear in this server
{swear.server_total}Every swear counted in this server
{swear.server_count}The member's swear count in this server
Example
{user.mention} said **{swear.word}**. That's {swear.server_count} in the jar here!

Permissions

  • Manage Server to turn the jar on or off, change settings or reset.
  • Anyone can use profile, leaderboard and variables.
  • greed needs Add Reactions for the reaction alert, and Send Messages in the channel or log channel for the other alerts.