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.