Docs / Sentinel / Commandes / /case
Info Server only

/case

Look up a case by its number

Usage

Generated
/case <case_number>
OptionTypeObligatoireDescription
case_number whole number Oui The case number (e.g. 42)

Who can run it

Generated
Discord defaultEvery member
Command Access presetEveryone
Always allowedThe server owner and, by default, Administrators
Change itDashboard, Services, Sentinel, Commands

Open to every member unless you lock it to roles or channels in Command Access. How Command Access works.

What the bot needs

Generated

Sentinel is granted these permissions by the invite link. A command that finds one missing replies privately with what it could not do and changes nothing.

Kick MembersBan MembersManage ServerView ChannelSend MessagesManage MessagesEmbed LinksManage NicknamesManage RolesTimeout Members

Comportement

Checked against the code 2026-09-21

Looks up one case by its number. Discord shows the command to everyone by default, but the bot only answers an Administrator or a holder of a moderator role from the Settings page ("No permission."). It also checks Command Access rules and that the Moderation service is enabled ("Sentinel is not enabled for this server."). Only the moderator sees the reply.

Case numbers count up per server, so #42 is the server's 42nd case. A number that does not exist gets "Case #42 not found." Otherwise the reply shows the case number and its type in capitals, then "Status: open", "Target: @member", "Actor: @moderator" (or "Actor: Automod" for cases the automod opened), "Reason: ..." with the first 300 characters, and "Created: 2026-09-21 14:03:00".

Good to know

  • The reply names the moderator even when anonymous moderation is on, because only staff can run it.
  • The dashboard Cases page shows the same case with its evidence and notes, and is where staff change its status.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction