Warn Command

Give your moderators a lightweight warning command backed by persistent per-member history. Running /warn on a member records the warning, increases that member's warning count, and notifies them by direct message with the reason; if their DMs are closed the bot falls back to a channel reply, so a warning is never silently lost. The moderator receives a confirmation that shows the member's running total in natural language, such as their 3rd warning. No configuration is required: the module keeps each member's warning count in its own storage and works the moment it is imported.

Screenshots

What it does

About

Warn Command gives moderators a fast, accountable way to issue warnings. A moderator runs /warn on a member with a reason; the module records the warning, increments that member's running total, and notifies the member by direct message so they know what happened and why. If the member has direct messages closed, the bot falls back to a reply in the channel, so a warning is never silently dropped. The moderator gets a confirmation that reads naturally, for example your 3rd warning, with the correct ordinal and singular or plural wording.

There is nothing to configure: warning counts are stored per member in the module's own storage and the command works the moment it is imported. Use Discord's built-in command permissions to limit /warn to your moderator roles.

FAQ

Is there any setup?

No. The module stores each member's warning count on its own and works as soon as it is imported. Restrict who can run /warn using Discord's command permission settings.

What if the member has DMs turned off?

The bot notices the failed direct message and replies in the channel instead, so the warning still goes through and the moderator sees it was delivered.

Are warnings remembered over time?

Yes. Each member has a persistent warning counter, so /warn always shows their up-to-date running total.

Version history

v17/15/2026

Initial release: /warn a member with a reason, a persistent per-member warning counter, a natural-language confirmation (their 3rd warning), a direct-message notice to the member, and a channel-reply fallback when their DMs are closed.

Reviews

Reviews reflect the opinions of server owners, not SCNX.

No reviews yet.