# Command List

* **`/config dm disabler`** *<mark style="color:red;">new! (beta)</mark>*
  * Disable new DMs from being sent between members in your server. This feature extends Discord's native "Pause DMs" feature, which has a time limit of 24 hours. With our command, DMs are paused in your server indefinitely. Friends can still DM each other, moderators can still DM members and your Apps can still DM members.&#x20;
  * Arguments:&#x20;
    * `Enable` - Enables DM disabler.&#x20;
    * `Disable` - Disables DM disabler.&#x20;
  * Pandez Guard requires the "Manage Servers" permission for this feature to work.
* **`/audit logs`**&#x20;
  * View and filter your server's audit logs with the following optional arguments:
    * `executor` - Filter by the user that performed the action
    * `target` - Filter by the user, channel or role that an action was performed on
    * `action` - Filter by the type of action that was performed
    * `duration` - Filter by when the action was performed (e.g. `2d` will show the logs for the last 2 days)
  * The free version of the bot only lets you see up to 5 audit logs. [Buy premium](https://buy.pandezlabs.com) for unlimited logs.&#x20;
* **`/about`**
  * Get information about the bot and the official links.
* **`/lock`**
  * Lock the server and add the following optional arguments:
    * `code` - Access code to get into the server&#x20;
    * `duration` - How long the access code will be valid for
      * Use `m` for minutes (e.g. 10m)
      * Use `h` for hours (e.g. 1h)
      * Use `d` for days (e.g. 2d)
    * `uses` - Number of times the access code can be used
    * Or a combination of all three
  * You can use the command again at any time to override the current bot's status.
  * Using the command with no optional arguments, locks down the server until it is unlocked.
  * Examples:

![/lock code 69 will lock the server with the code 69 with an unlimited number of uses and no expiry duration.](/files/xhZMmSeEWOGRnFtTqvgE)

![/lock code 69 uses 10 will lock the server with the code 69 and allow the code to be used up to 10 times.](/files/hjqB8DPDXvLW01YefGrR)

![/lock code 69 duration 10m will lock the server with the code 69 and allow the code to be used for 10 minutes. After that, the server remains locked with no valid access code.](/files/u2uX3bS2882EcYDdcgXE)

* **`/unlock`**
  * Unlocks the server.
* **`/status`**
  * Shows the current server locking status.

![](/files/mwc4zDqOLWylakXLAa0o)

* **`/regen`**
  * Regenerates the missing roles, channels and verification/waiting room panels.
* **`/config logs`**
  * Shows a log of the most recent bot commands used by admins

![Logs are displayed from most recent to oldest](/files/EJQ06eHFMUs8WyCy7qql)

* **`/config notifications`** *(beta)*
  * Sends a notification about specific events happening in other platforms

<figure><img src="/files/doiMfQeLaKx7Z9crFAs2" alt="" width="563"><figcaption></figcaption></figure>


---

# 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://docs.pandezlabs.com/pandez-guard/command-list.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.
