# DM commands

***

{% hint style="info" %}
These commands work when messaging the bot directly in private chat.
{% endhint %}

### User Information

#### <mark style="color:blue;">/info</mark> <mark style="color:purple;">(DM)</mark>&#x20;

`/info @username | /info UserID`

Same as group /info but available in DM. You can also forward a message from a user with hidden identity to automatically resolve who they are.

***

#### <mark style="color:blue;">/groupinfo</mark> <mark style="color:purple;">(DM)</mark>&#x20;

`/groupinfo GroupID`

Get information about who installed Heimdall in a specific group.

***

#### <mark style="color:blue;">/getreports</mark> <mark style="color:purple;">(DM)</mark>

`/getreports @username | /getreports UserID`

View all reports for a user (works same as in groups).

***

### Group Configuration via DM

#### <mark style="color:blue;">/filter</mark> <mark style="color:red;">(Admin)</mark> <mark style="color:purple;">(DM)</mark>&#x20;

`/filter word response /filter "phrase" response`

Add filters via DM when configuring a group through the bot. Works same as in-group /filter command.

***

#### <mark style="color:blue;">/removefilter</mark> <mark style="color:red;">(Admin)</mark> <mark style="color:purple;">(DM)</mark>&#x20;

`/removefilter keyword`

Remove a filter via DM when configuring a group.

***

#### <mark style="color:blue;">/removeallfilters</mark> <mark style="color:$danger;">(Admin)</mark> <mark style="color:purple;">(DM)</mark>

`/removeallfilters`

Remove all filters via DM when configuring a group.


---

# 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.odin.tools/tools/heimdall-protection-bot/dm-commands.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.
