One switch that locks the server during an emergency, and one that puts everything back.
When things are out of hand, you don’t want to lock thirty channels one by one. Lockdown does it all at once and remembers how everything was, so ending it is just as quick.
What lockdown does
You choose which of these happen (Dashboard → Security → Lockdown):
Lock channels: nobody without staff permissions can talk.
Pause invites: nobody new can join through an invite.
Raise verification: Discord’s verification level goes to the highest setting.
Handle new joins: warn, jail, kick or ban anyone who joins anyway.
When it ends, every channel’s permissions and the server settings go back exactly as they were.
Starting and ending
Dashboard: the big button at the top of the Lockdown module.
Chat: ,lockdown on reason and ,lockdown off (no slash version yet).
Automatically: when antinuke catches a nuke, antiraid sees a raid, or anti-spam sees a spam wave. You pick which.
Set End automatically after if you’d like it to lift itself.
Write a reason when you start one. It shows in the channels it locks, so members know what’s happening.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"cure","description":"Guides for cure, the all-in-one Discord bot: set-up, moderation, security, tickets, music, levels, automation and every command.","colors":{"primary":"#3B4F9A","light":"#F2CF7A","dark":"#3B4F9A"},"logo":{"light":"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/hakase.png?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=49567bcbad50a46245e3bd5a299f1540","dark":"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/hakase.png?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=49567bcbad50a46245e3bd5a299f1540"},"favicon":"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/favicon.ico?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=f535ae8cf1651bbcae7734ed9aa259ee","appearance":{"default":"system","strict":false},"background":{"color":{"light":"#F5EFE3","dark":"#0F1426"}},"navbar":{"links":[{"href":"https://curebot.site/commands","label":"Commands"},{"href":"https://discord.gg/ail","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://curebot.site/dashboard"}},"footer":{"socials":{"discord":"https://discord.gg/ail"}},"search":{"prompt":"Search documentation..."},"seo":{"metatags":{"theme-color":"#111216","og:site_name":"cure documentation","description":"Guides for cure, the all-in-one Discord bot: set-up, moderation, security, tickets, music, levels, automation and every command."},"indexing":"navigable"},"fonts":{"family":"Inter"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cure","hasAudioNarration":false,"actualSubdomain":"cure","customDomains":["docs.curebot.site"],"gitSource":{"type":"github","owner":"woo3r","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b12babfeed631096c9446ff"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b12bacceed631096c944754","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Guides","count":54},{"language":"default","tag":"Commands","count":20},{"language":"default","tag":"For everyone","count":11},{"language":"default","tag":"Community","count":9},{"language":"default","tag":"Run your server","count":9},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"Moderation","count":8},{"language":"default","tag":"Keep your server safe","count":8},{"language":"default","tag":"For staff","count":7},{"language":"default","tag":"Messages and automation","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 600;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJhCCwDFXplDs.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 600;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJhCCwDVXplDs.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 600;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJhCCwA1Xp.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--cure-bg: #f5efe3;--cure-bg-soft: #ede5d4;--cure-surface: #fbf8f1;--cure-ink: #22263a;--cure-text: #45485a;--cure-muted: #66656f;--cure-line: #e2d9c6;--cure-accent: #3b4f9a;--cure-accent-soft: #e2e4f1;--cure-press: rgba(34, 38, 58, 0.06);--cure-mark: rgba(243, 165, 184, 0.6);--cure-ease: cubic-bezier(0.22, 1, 0.36, 1)}:root.dark{--cure-bg: #0f1426;--cure-bg-soft: #141a30;--cure-surface: #182038;--cure-ink: #f1ece0;--cure-text: #c4c4cf;--cure-muted: #9095aa;--cure-line: #263050;--cure-accent: #f2cf7a;--cure-accent-soft: rgba(242, 207, 122, 0.14);--cure-press: rgba(255, 255, 255, 0.06);--cure-mark: rgba(243, 165, 184, 0.34)}body{background-color:var(--cure-bg)}::selection{background:var(--cure-mark);color:inherit}:is(a,button,[role=\"button\"],input,summary):focus-visible{outline:2px solid var(--cure-accent);outline-offset:2px;border-radius:6px}#page-title{color:var(--cure-ink);font-family:\"Bricolage Grotesque\", \"Inter\", sans-serif;font-size:clamp(30px, 4vw, 42px);font-weight:600;letter-spacing:-0.035em;line-height:1.08;text-wrap:balance}#header>div>p,#header [data-page-description]{color:var(--cure-muted);font-size:17px;line-height:1.55}.prose{--tw-prose-body: var(--cure-text);--tw-prose-headings: var(--cure-ink);--tw-prose-bold: var(--cure-ink);--tw-prose-links: var(--cure-accent);--tw-prose-bullets: var(--cure-muted);--tw-prose-counters: var(--cure-muted);--tw-prose-th-borders: var(--cure-line);--tw-prose-td-borders: var(--cure-line);color:var(--cure-text);font-size:16px}.prose p,.prose li{line-height:1.65}.prose li+li{margin-top:6px}.prose strong{color:var(--cure-ink);font-weight:600}.prose h2{margin-top:48px;color:var(--cure-ink);font-size:24px;font-weight:600;letter-spacing:-0.02em}.prose h3{margin-top:32px;color:var(--cure-ink);font-size:18px;font-weight:600}.prose a:not(.card){color:var(--cure-accent);text-decoration:underline;text-decoration-color:color-mix(in srgb, var(--cure-accent) 35%, transparent);text-underline-offset:3px;font-weight:500}.prose a:not(.card):hover{text-decoration-color:currentColor}code,pre,kbd{font-family:\"Geist Mono\", ui-monospace, monospace;font-variant-ligatures:none}.prose :not(pre)>code{padding:2px 5px;border:0;border-radius:6px;background:var(--cure-press);color:var(--cure-ink);font-size:0.875em;font-weight:500}.prose :not(pre)>code::before,.prose :not(pre)>code::after{content:none}.prose kbd{padding:2px 6px;border:1px solid var(--cure-line);border-bottom-width:2px;border-radius:6px;background:var(--cure-surface);color:var(--cure-ink);font-size:0.8em}.prose table{margin-block:16px 24px;font-size:15px}.prose thead th{color:var(--cure-ink);font-weight:600}.prose :is(th,td){padding:10px 12px;vertical-align:top}.prose tbody tr{border-color:var(--cure-line)}.callout{border-radius:12px}.steps .step{padding-bottom:8px}.card,.accordion-group{border:1px solid var(--cure-line);border-radius:16px;background-color:var(--cure-surface);box-shadow:none}.card{transition:border-color 180ms var(--cure-ease), background-color 180ms var(--cure-ease)}.card:is(a,[role=\"link\"]):hover{border-color:var(--cure-accent);background-color:var(--cure-surface)}.card:is(a,[role=\"link\"]):active{transform:scale(0.99)}[data-component-part=\"card-title\"]{color:var(--cure-ink)}[data-component-part=\"card-content\"]{color:var(--cure-muted)}.accordion-group .accordion{border-color:var(--cure-line);background-color:var(--cure-surface)}#navbar{border-color:var(--cure-line)}:is(#sidebar,#mobile-nav) .sidebar-group-header{color:var(--cure-ink);font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}[data-search-item=\"trigger\"]{border-color:var(--cure-line);background-color:var(--cure-surface);color:var(--cure-muted)}#table-of-contents h2 button{display:flex;align-items:center;width:100%;gap:8px;color:var(--cure-ink);font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}#table-of-contents button[aria-expanded]::after{content:\"\";width:6px;height:6px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform 180ms var(--cure-ease)}#table-of-contents button[aria-expanded=\"false\"]::after{transform:rotate(-45deg)}#table-of-contents nav[data-cure-collapsed=\"true\"] #table-of-contents-content{display:none}#table-of-contents .toc-item>a{color:var(--cure-muted);font-size:13px;line-height:1.5}#table-of-contents .toc-item>a:hover{color:var(--cure-ink)}#table-of-contents .toc-item[data-active-deepest=\"true\"]>a,#table-of-contents .toc-item>a[aria-current=\"location\"]{color:var(--cure-accent);font-weight:600}@keyframes cure-fade{from{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: no-preference){#content-area{animation:cure-fade 240ms var(--cure-ease)}}@media (prefers-reduced-motion: reduce){.card,#table-of-contents button[aria-expanded]::after{transition:none}.card:is(a,[role=\"link\"]):active{transform:none}}.cure-discord{margin:20px 0 28px;overflow:hidden;border:1px solid var(--cure-line);border-radius:14px;color:#dbdee1;background:#313338;font-family:\"gg sans\", \"Noto Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;font-size:15px;line-height:1.375}.cure-discord-body{display:grid;gap:14px;padding:14px 16px 16px}.cure-msg{display:grid;grid-template-columns:40px minmax(0, 1fr);gap:14px}.cure-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.cure-avatar-you{display:grid;place-items:center;color:#fff;background:#5865f2;font-weight:700}.cure-msg-main{min-width:0}.cure-msg-used{row-gap:4px}.cure-used{position:relative;grid-column:1 / -1;display:flex;align-items:center;gap:4px;min-width:0;margin-left:20px;padding-left:34px;color:#949ba4;font-size:13px;line-height:18px;white-space:nowrap}.cure-spine{position:absolute;top:9px;bottom:-4px;left:-1px;width:28px;border-top:2px solid #4e5058;border-left:2px solid #4e5058;border-top-left-radius:6px}.cure-used-avatar{flex:none;width:16px;height:16px;border-radius:50%;object-fit:cover}.cure-used-name{color:#dbdee1;font-weight:500}.cure-used-command{overflow:hidden;color:#00a8fc;text-overflow:ellipsis}.cure-msg-head{display:flex;align-items:center;gap:6px}.cure-name{color:#f2f3f5;font-weight:600}.cure-app{padding:0 5px;border-radius:4px;color:#fff;background:#5865f2;font-size:10.5px;font-weight:700;line-height:16px}.cure-time{color:#949ba4;font-size:12px}.cure-msg-text{color:#dbdee1;overflow-wrap:anywhere}.cure-box{max-width:520px;margin-top:4px;overflow:hidden;border:1px solid #3f4147;border-radius:8px;background:#393a41}.cure-box-image{display:block;width:100%;max-height:260px;object-fit:cover}.cure-box-row{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:12px;padding:12px 14px}.cure-box-main{display:grid;gap:4px;min-width:0}.cure-box-thumb{width:72px;height:72px;border-radius:8px;object-fit:cover}.cure-line{color:#dbdee1;overflow-wrap:anywhere}.cure-bold{color:#f2f3f5;font-weight:700}.cure-big{color:#f2f3f5;font-size:20px;font-weight:700;line-height:1.25}.cure-facts{display:grid;gap:2px}.cure-facts-row{display:flex;flex-wrap:wrap;gap:2px 28px}.cure-facts b{color:#f2f3f5}.cure-small{color:#949ba4;font-size:13px}.cure-rule{margin:6px 0;border:0;border-top:1px solid #4e5058}.cure-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.cure-button{display:inline-flex;align-items:center;height:32px;padding:0 16px;border-radius:8px;color:#fff;background:#4e5058;font-size:14px;font-weight:500}.cure-link{gap:8px;background:#4e5058}.cure-link-icon{flex:none}.cure-reactions{display:flex;gap:4px;margin-top:6px}.cure-reaction{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 7px;border-radius:8px;color:#dbdee1;background:rgba(88, 101, 242, 0.15);box-shadow:inset 0 0 0 1px rgba(88, 101, 242, 0.55);font-size:13px;font-weight:600}.cure-mention{padding:0 2px;border-radius:3px;color:#c9cdfb;background:rgba(88, 101, 242, 0.3);font-weight:500}.cure-only{margin-top:6px;color:#949ba4;font-size:12px}.cure-discord :not(pre)>code{padding:1px 4px;border:0;border-radius:4px;color:#dbdee1;background:#2b2d31;font-size:0.85em}@media (max-width: 640px){.cure-discord-body{padding:12px}.cure-msg{grid-template-columns:32px minmax(0, 1fr);gap:10px}.cure-avatar{width:32px;height:32px}.cure-facts-row{gap:2px 18px}.cure-msg-used{row-gap:4px}.cure-used{margin-left:16px;padding-left:26px}.cure-spine{width:22px}}.cure-quote{padding-left:10px;border-left:4px solid #4e5058;color:#dbdee1}"}]}
{"page":{"pagePath":"security/lockdown","slug":"/security/lockdown","pageMetadata":{"title":"Lockdown","description":"One switch that locks the server during an emergency, and one that puts everything back.","icon":"lock","href":"/security/lockdown"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"One switch that locks the server during an emergency, and one that puts everything back.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`When things are out of hand, you don’t want to lock thirty channels one by one. Lockdown does it all at once and remembers how everything was, so ending it is just as quick.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-lockdown-does`,children:`What lockdown does`}),`\n`,_jsxs(_components.p,{children:[`You choose which of these happen (`,_jsx(_components.strong,{children:`Dashboard → Security → Lockdown`}),`):`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Lock channels`}),`: nobody without staff permissions can talk.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pause invites`}),`: nobody new can join through an invite.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Raise verification`}),`: Discord’s verification level goes to the highest setting.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Handle new joins`}),`: warn, jail, kick or ban anyone who joins anyway.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`When it ends, every channel’s permissions and the server settings go back exactly as they were.`}),`\n`,_jsx(Heading,{level:`2`,id:`starting-and-ending`,children:`Starting and ending`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dashboard`}),`: the big button at the top of the Lockdown module.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Chat`}),`: `,_jsx(_components.code,{children:`,lockdown on reason`}),` and `,_jsx(_components.code,{children:`,lockdown off`}),` (no slash version yet).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Automatically`}),`: when antinuke catches a nuke, antiraid sees a raid, or anti-spam sees a spam wave. You pick which.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.strong,{children:`End automatically after`}),` if you’d like it to lift itself.`]}),`\n`,_jsx(Tip,{children:`Write a reason when you start one. It shows in the channels it locks, so members know what’s happening.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Lockdown","description":"One switch that locks the server during an emergency, and one that puts everything back.","icon":"lock","href":"/security/lockdown"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What lockdown does","slug":"what-lockdown-does","depth":2,"children":[]},{"title":"Starting and ending","slug":"starting-and-ending","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cure/b243e5df795e1b3a/navigation.js"],"subdomain":"cure","siteName":"cure","title":"Lockdown - cure","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T13:06:39.988Z","originalFileLocation":"security/lockdown.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"One switch that locks the server during an emergency, and one that puts everything back.\">\u003cmeta data-mint-head name=\"application-name\" content=\"cure\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lockdown - cure\">\u003cmeta data-mint-head property=\"og:description\" content=\"One switch that locks the server during an emergency, and one that puts everything back.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"cure documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.curebot.site/security/lockdown\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cure.mintlify.site/_mintlify/api/og/v2?division=Keep+your+server+safe\u0026amp;title=Lockdown\u0026amp;description=One+switch+that+locks+the+server+during+an+emergency%2C+and+one+that+puts+everything+back.\u0026amp;theme=4501e3296d07febcfee5e237\u0026amp;signature=df5b383baf53d13773cb7eb4896feb981709a6b935973aee59fa31d2e6adb7a1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Lockdown - cure\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One switch that locks the server during an emergency, and one that puts everything back.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cure.mintlify.site/_mintlify/api/og/v2?division=Keep+your+server+safe\u0026amp;title=Lockdown\u0026amp;description=One+switch+that+locks+the+server+during+an+emergency%2C+and+one+that+puts+everything+back.\u0026amp;theme=4501e3296d07febcfee5e237\u0026amp;signature=df5b383baf53d13773cb7eb4896feb981709a6b935973aee59fa31d2e6adb7a1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cure/4bUk-sFGQtNus4fD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"cure\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B4F9A\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#111216\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.curebot.site/security/lockdown\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/security/lockdown.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.curebot.site/#organization\",\"name\":\"cure\",\"url\":\"https://docs.curebot.site\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cure/JT6OLTifSCrGzVw3/images/hakase.png?fit=max\u0026auto=format\u0026n=JT6OLTifSCrGzVw3\u0026q=85\u0026s=49567bcbad50a46245e3bd5a299f1540\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.curebot.site#website\",\"name\":\"cure\",\"url\":\"https://docs.curebot.site\",\"publisher\":{\"@id\":\"https://docs.curebot.site/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.curebot.site/security/lockdown#webpage\",\"url\":\"https://docs.curebot.site/security/lockdown\",\"name\":\"Lockdown\",\"description\":\"One switch that locks the server during an emergency, and one that puts everything back.\",\"dateModified\":\"2026-12-04T13:06:39.988Z\",\"isPartOf\":{\"@id\":\"https://docs.curebot.site#website\"},\"breadcrumb\":{\"@id\":\"https://docs.curebot.site/security/lockdown#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.curebot.site/security/lockdown#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Keep your server safe\",\"item\":\"https://docs.curebot.site/security/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lockdown\",\"item\":\"https://docs.curebot.site/security/lockdown\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.curebot.site/security/lockdown#article\",\"headline\":\"Lockdown\",\"name\":\"Lockdown\",\"description\":\"One switch that locks the server during an emergency, and one that puts everything back.\",\"url\":\"https://docs.curebot.site/security/lockdown\",\"mainEntityOfPage\":{\"@id\":\"https://docs.curebot.site/security/lockdown#webpage\"},\"dateModified\":\"2026-12-04T13:06:39.988Z\",\"publisher\":{\"@id\":\"https://docs.curebot.site/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.curebot.site#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"cure\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"cure\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/security/lockdown.md","siteName":"cure","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","groups":[{"group":"Get started","pages":[{"title":"cure documentation","sidebarTitle":"Home","icon":"house","href":""},{"title":"Set up in five minutes","icon":"rocket","href":"/start/quickstart"},{"title":"How commands work","icon":"terminal","href":"/start/commands"},{"title":"The dashboard","icon":"gauge","href":"/start/dashboard"},{"title":"Ask cure","icon":"message-bot","href":"/start/ask-cure"},{"title":"Dashboard access","icon":"user-lock","href":"/start/dashboard-access"},{"title":"Presets and settings files","icon":"copy","href":"/start/presets-templates"},{"title":"Donator perks","icon":"gem","href":"/start/perks"}]},{"group":"Keep your server safe","pages":[{"title":"Server safety","icon":"shield-halved","href":"/security/overview"},{"title":"Verification","icon":"user-check","href":"/security/verification"},{"title":"Anti-spam","icon":"fire","href":"/security/anti-spam"},{"title":"Antinuke","icon":"bomb","href":"/security/antinuke"},{"title":"Antiraid","description":"Spot a wave of suspicious joins, contain it, and clean up afterwards.","icon":"user-shield","href":"/security/antiraid"},{"title":"Lockdown","icon":"lock","href":"/security/lockdown"},{"title":"Image filter (beta)","description":"Catch NSFW images in messages, profiles, emojis and stickers, and choose what happens.","icon":"image","href":"/security/image-filter"},{"title":"Health checks and backups","icon":"life-ring","href":"/security/backups"}]},{"group":"Moderation","pages":[{"title":"Moderating members","icon":"gavel","href":"/moderation/members"},{"title":"Member lookup","icon":"user-magnifying-glass","href":"/moderation/member-lookup"},{"title":"Cases and history","icon":"folder-open","href":"/moderation/cases"},{"title":"Automod and its log","icon":"shield-check","href":"/moderation/automod"},{"title":"Jail and honeypots","icon":"lock-keyhole","href":"/moderation/jail-honeypots"},{"title":"Punishment messages","icon":"message-pen","href":"/moderation/punishment-messages"},{"title":"Appeals","icon":"scale-balanced","href":"/moderation/appeals"},{"title":"Permissions and staff","icon":"key","href":"/security/permissions"}]},{"group":"Run your server","pages":[{"title":"Welcome and goodbye","icon":"hand-wave","href":"/server/greetings"},{"title":"Roles","icon":"user-tag","href":"/server/roles"},{"title":"Tickets","icon":"ticket","href":"/server/tickets"},{"title":"Modmail","icon":"envelope","href":"/server/modmail"},{"title":"Channels and counters","icon":"hashtag","href":"/server/channels"},{"title":"Voice rooms","icon":"headphones","href":"/server/voice-rooms"},{"title":"Analytics","icon":"chart-line","href":"/server/analytics"},{"title":"Emoji Sorta","icon":"face-smile","href":"/server/emoji-sorta"},{"title":"Twitch alerts","icon":"twitch","href":"/server/twitch"}]},{"group":"Messages and automation","pages":[{"title":"Message Studio","icon":"pen-ruler","href":"/studio/messages"},{"title":"Buttons and forms","icon":"hand-pointer","href":"/studio/buttons-forms"},{"title":"Auto-replies and custom commands","icon":"comments","href":"/studio/auto-replies"},{"title":"Webhooks","icon":"webhook","href":"/studio/webhooks"},{"title":"Workflows","icon":"diagram-project","href":"/studio/workflows"},{"title":"Custom commands","icon":"puzzle-piece","href":"/studio/custom-commands"},{"title":"Script reference","icon":"code","href":"/studio/scripts"}]},{"group":"Community","pages":[{"title":"Levels","icon":"chart-line","href":"/community/levels"},{"title":"Giveaways","icon":"gift","href":"/community/giveaways"},{"title":"Starboard, quotes and more","icon":"star","href":"/community/highlights"},{"title":"Economy, family and roleplay","icon":"dice","href":"/community/fun"},{"title":"Games","icon":"gamepad-2","href":"/community/games"},{"title":"Chess","icon":"chess-pawn","href":"/community/chess"},{"title":"Calls","icon":"phone","href":"/community/calls"},{"title":"Reminders","icon":"bell","href":"/community/reminders"},{"title":"Vanity rewards","icon":"award","href":"/community/vanity-rewards"}]},{"group":"Music","pages":[{"title":"Playing music","icon":"music","href":"/music/playing"},{"title":"Spotify and Last.fm","icon":"spotify","href":"/music/spotify-lastfm"}]},{"group":"You","pages":[{"title":"Your settings","icon":"user","href":"/you/me-page"}]},{"group":"Help","pages":[{"title":"Troubleshooting","icon":"wrench","href":"/help/troubleshooting"},{"title":"Server access","icon":"door-open","href":"/help/server-access"}]}]},{"tab":"Commands","icon":"terminal","pages":[{"title":"Commands","href":"/reference/moderation"}]}]},"basePath":"","title":"Lockdown - cure","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}