Dokumentation / Sentinel / Befehle / /unlockdown
Moderation Server only

/unlockdown

Lift a lockdown: this channel, the server, a role, joins or invites

Usage

Generated
/unlockdown [scope] [role]
OptionTypErforderlichBeschreibung
scope text Nein What to unlock (default: this channel)
channel - this channel (default)server - every text channelrole - one role, in every text channeljoins - raid hard mode for new joinsinvites - pause the server's invites
role role Nein Role to unlock (scope: role)

Who can run it

Generated
Discord defaultMembers with Manage Messages
Command Access presetModerator roles
Always allowedThe server owner and, by default, Administrators
Change itDashboard, Services, Sentinel, Commands

The Moderation preset limits it to the roles you mark as moderators. Server owners and Administrators can always run it. 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

Verhalten

Checked against the code 2026-09-21

Lifts a lock placed by /lockdown or by the Overview page and restores exactly what that lock recorded. Discord shows the command only to members with Manage Messages by default. The bot checks Command Access rules, that the Moderation service is enabled ("Sentinel is not enabled for this server."), and that the moderator is an Administrator or holds a moderator role from the Settings page ("No permission."). The scope defaults to channel; the role scope needs the role option.

For channel, server and role locks, each channel's earlier Send Messages setting comes back as it was: allow, deny or inherit. For joins, raid mode goes back off only if the lock turned it on. For invites, invites resume only if the lock paused them. The reply is "Unlocked. Restored: Channel #general locked for @everyone." and a "Lockdown lifted" card goes to the moderation log channel.

A channel with no lock on record (locked by hand, or before this version) is still unlocked: the @everyone Send Messages override is reset to inherit and the reply is "Channel unlocked." The other scopes answer when nothing is locked: "The server is not locked by /lockdown.", "That role is not locked by /lockdown.", "Joins are not locked by /lockdown. Raid mode itself is lifted with /raidmode off.", and "Invites are not paused by /lockdown."

Good to know

  • The raid lockdown level set with /raidmode lockdown is not a /lockdown lock; lift it with /raidmode off.
  • While an anti-nuke panic lockdown is on, only the server owner and the anti-nuke exempt users and roles can run it.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction