Reference

Live

All bot commands

Complete Defendy command reference: moderation, warnings, roles, information, settings and AI checks — syntax, aliases and required permissions.

The complete list of Defendy commands. Commands work in a group where the bot has been added as an administrator. For commands that act on a specific message or member, reply to the message in question.

How commands work

  • Prefixes. A command can start with /, !, ., , or ;. The Russian keyboard layout is recognized automatically — the bot will understand a command typed by key position.
  • Reply to a message. Many commands (/ban, /mute, /warn, /del) apply to the author of the message you replied to.
  • Name modifiers. Some commands accept a prefix:
    • d… — perform the action and delete the original message: /dban, /dmute, /dkick, /dwarn.
    • s… — silently, without a bot reply in the chat: /sban, /smute, /sdel, /spurge.
    • t… — with a duration: /tban 1h, /tmute 30m.
    • un… — undo the action: /unban, /unmute, /unwarn.

The time format is described in the Time formats section.

Access legend

  • 🟢 Everyone — available to any member.
  • 👤 Members only — members without a role (for example, to report something).
  • 🛡 Moderators+ — moderator, administrator, co-founder or owner.
  • ⚙️ Administrators+ — administrator and above.
  • 👑 Co-founders+ — co-founder and owner.
  • Owner — the group owner only.

Roles and permissions are described in detail on the Roles and permissions page.

Moderation

CommandWhat it doesAccess
/ban /tban /dban /sbanBan a member. t — for a duration, d — with message deletion, s — silently.⚙️ Administrators+
/unbanRemove a ban.🛡 Moderators+
/mute /tmute /dmute /smuteRestrict sending messages. t — for a duration, d — with deletion, s — silently.🛡 Moderators+
/unmuteRemove the restriction.🛡 Moderators+
/kick /dkick /skickRemove from the group (the user can rejoin via a link).🛡 Moderators+
/del /sdelDelete a message by reply. s — without a notification.🛡 Moderators+
/purge /spurgeDelete a range of messages (up to 200) from the reply to the command.🛡 Moderators+

Examples: /tmute 30m flooding, /ban @username advertising, reply to a message + /del.

The exact access is determined by the role's permissions. For example, a ban (/ban) is available from the administrator role, while a warning and a mute are already available to a junior moderator. The full matrix is on the Roles and permissions page.

Warnings

CommandWhat it doesAccess
/warn /dwarn /swarnIssue a warning. When the limit is reached, a punishment is triggered.🛡 Moderators+
/unwarn /dunwarn /sunwarnRemove one warning; d deletes the command and s runs silently.🛡 Moderators+
/warnsShow a member's warning counter.🛡 Moderators+
/resetwarnsReset the counter.🛡 Moderators+
/setwarnlimit /warnlimitSet the warning limit (default 3).🛡 Moderators+
/setwarnmodeAction at the threshold: mute, ban, kick or nothing.🛡 Moderators+

Flexible escalation steps are configured in the panel — see Warnings.

Roles

CommandWhat it doesAccess
/mod /unmodAssign or remove a moderator.⚙️ Administrators+
/halfmod /unhalfmodJunior moderator.⚙️ Administrators+
/cleaner /uncleanerCleaner.⚙️ Administrators+
/booster /unboosterBooster (sponsor).⚙️ Administrators+
/helper /unhelperHelper.🛡 Moderators+
/free /unfreeExempt member (immunity to filters).🛡 Moderators+
/admin /unadminAssign or remove an administrator.👑 Co-founders+
/cofounder /uncofounderCo-founder.★ Owner
/staffShow the group's moderation team.🟢 Everyone
/adminlist /modlist /halfmodlist /cleanerlist /helperlist /boosterlist /cofounderlist /freelistLists of members with a role.🛡 Moderators+
/reloadRefresh the administrator cache from Telegram.⚙️ Administrators+

A user can be specified by replying to a message, via @username, or by numeric ID.

Information

CommandWhat it doesAccess
/startGreeting and brief information.🟢 Everyone
/helpList of commands available for your role.🟢 Everyone
/meYour role and statistics in the group.🟢 Everyone
/rulesShow the group rules.🟢 Everyone
/statusInformation about a member (by reply or mention).🛡 Moderators+
/chatInformation about the group.🛡 Moderators+
/chatidID of the current chat.🛡 Moderators+
/pingCheck the bot's response.🛡 Moderators+

Chat and settings

CommandWhat it doesAccess
/pin /unpin /unpinall /repinManage pinned messages.⚙️ Administrators+
/reportReport a message (by reply).👤 Members only
/admin /adminsCall administrators to a message.👤 Members only
/reports on|offEnable or disable the "Report" button.🛡 Moderators+
/revokelinkRevoke the current invite link.🛡 Moderators+
/nightmode on|off|status /nightNight mode.⚙️ Administrators+
/settopicDefault forum topic for the bot's messages.⚙️ Administrators+
/setcaptchatopic /setgreetingtopic /setfarewelltopic /setreputationtopicForum topic for a specific module.⚙️ Administrators+

Rules, greetings, filters and punishment settings are easier to change in the Defendy panel — commands are meant for quick actions and forum topics.

Reputation

Available if the reputation module is enabled.

CommandWhat it doesAccess
/rep /reputation /karmaShow reputation — your own or a member's by reply.🟢 Everyone
/toprep /topkarma /leaderboardReputation leaderboard.🟢 Everyone

AI spam check

The Beta module. Enabled by an administrator and works within the plan's monthly limit.

CommandWhat it doesAccess
/spamCheck a message (by reply) with AI. If it is spam, the message is deleted.🟢 Everyone, if the module is enabled
/spamonEnable the AI check module.⚙️ Administrators+
/spamoffDisable the module.⚙️ Administrators+
/spamstatusRemaining monthly check limit.⚙️ Administrators+

The monthly limit depends on the group's plan. Details are in AI spam check.

Supporting the project

CommandWhat it doesAccess
/donateWays to support the project.🟢 Everyone

Commands in a private chat with the bot

Send these directly to the bot, not to a group.

CommandWhat it doesAccess
/startOpen the main menu and WebApp. A deep link may open a specific flow.🟢 Everyone
/helpShow help for the private menu.🟢 Everyone
/premiumShow eligible groups and plans when Telegram Stars billing is enabled. Otherwise the bot reports that the feature is unavailable.Administrators of their groups
/termsOpen the Terms of Use.🟢 Everyone
/privacyOpen the Privacy Policy.🟢 Everyone
/paysupportOpen payment-support information.🟢 Everyone

Emoji catalog maintenance commands and the service-only /msg command are restricted to the Defendy owner and intentionally excluded from the user reference.

Need help?

If a setting behaves differently than expected, contact support.@ubotz