# Lockdown Setup

### Setting up

Want to setup lockdown to protect your server but dont know how? It's really simple. Start by inviting the bot to your server and once it's in do the command `-help` It will pop up an embed that looks like this:&#x20;

![Lockdowns help message](/files/-Mgnq1DPynItdgOg6ttv)

Once the embed message pops up you can either go through each command category or follow these steps below!\
\
**Lockdown Setup Steps**

1. Create a log channel so you know what's going on in your server. `-setlogchannel #channel`
2. Once you have your logging channel setup, start whitelisting trusted users. `-whitelist @user`
3. After you setup your whitelisted users, Turn anti-nuke on so it can protect your server. `-antinuke on`
4. Finally once you have turned antinuke on, turn on antibot it prevents bots from joining. `-antibot on`
5. Hooray! You have now fully protected your server. Any problems? Join the [support server](https://discord.gg/4b8AnnpqSu)!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lockdown.gitbook.io/lockdown/lockdown-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
