# Data Analysis

## Inactive

Searches for all users who have the specified roles (@everyone by default) who have not logged into discord over the specified duration (30 days default). The bot will then show how many inactive users were found if any.

#### Usage:

```scala
-checkinactive [days] [roles]...
```

## Name Correction

The bot will attempt to edit the nicknames of all users with special characters in their names.

#### Usage:

```scala
-massascify
```

## Creating Mute Role

This command will set a role of your choice as the "Muted" role.

#### Usage:

```scala
-muterole <role>
```

## Registry Operations&#x20;

Count the audit log entries of a user.

#### Usage:

```scala
-auditcount <user> [unit]

Options:
    bans, botadds, bulkdeletes,
    channeladds, channeldeletes,
    channelupdates, deletes, emojiadds,
    emojideletes, emojiupdates,
    integrationadds, integrationdeletes,
    integrationupdates, inviteadds,
    invitedeletes, inviteupdates, kicks,
    moves, pins, roleadds, roledeletes,
    roleupdates, serverupdates, unbans,
    unpins, vckicks, webhookadds,
    webhookdeletes, webhookupdates
```

## Hiding Channel

Hide a channel from a user.

#### Usage:

```scala
-blind <target> [target]...
```

## Showing Channel

Reallow users see a channel.

#### Usage:

```scala
-unblind <target> [target]...
```

## Kicking from Voice

Kick users from a voice channel.

#### Usage:

```scala
-vckick <targets>...
```

## Moving Voice Channel

Moves members into a new voice channel.

#### Usage:

```scala
-vcmove <targets>... <channel>
```

## Clearing Voice Channel

Kicks all members from the channel

#### Usage:

```scala
-vcpurge <voice channel>
```

## Unassigned Roles

Show roles that have no users.

#### Usage:

```scala
-emptyroles
```

## Role Count

Counts the users with a role.

#### Usage:

```scala
-rolecall
```

## People with Role

Show the people who have a role.

#### Usage:

```scala
-whohas <role>
```

## Badges

Show all the badges a user has

#### Usage:

```scala
-badges [user]
```

## Emoji Statistics

Get usage stats on an emoji.

#### Usage:

```scala
-emoji <custom emoji>
```

## Detailed Emoji Statistics

Get detailed emoji usage stats.

#### Usage:

```scala
-emojistats [user]
```

## First Joiners

Embed of all users ordered by their join date earliest to latest.

#### Usage:

```scala
 -firstjoins
```

## Join Position

Shows the user that joined at the passed position.

#### Usage:

```scala
-joinedatpos <position>
```

## Join Position 2&#x20;

Shows when a user joined compared to other users.

#### Usage:

```scala
-joinpos [user]
```

## Last Joiners

Embed of all users ordered by their join date latest to earliest.

#### Usage:

```scala
-lastjoins
```

## Moderators

Show all the server moderators and their respective statuses.

#### Usage:

```scala
-mods
```

## Emojis

Sends all server emojis to the channel.

#### Usage:

```scala
-emojipost
```

## Find Member

Find any user using a search. / Users matching your search.

#### Usage:

```scala
-find <option> <search>

Examples:
    -find name Hecate
    -find id 708584008065351681
    
Options:
    duplicates
    hardmention
    hash       (Ex: 3523)
    nickname   (Ex: Hecate)
    playing    (Ex: Visual Studio Code)
    snowflake  (Ex: 708584008065351681)
    username   (Ex: Hecate)
```

## Raw

Shows the raw content of a message.

#### Usage:

```scala
 -raw [message id]
```

## Reaction

Shows all the users who reacted to the given message in an rst tabular format.

#### Usage:

```scala
-reactinfo [message id]
```

## People in Voice

Shows all the users in a voice channel in tabular format.

#### Usage:

```scala
-voiceusers [voice channel]
```


---

# 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://laernos.gitbook.io/ps-moderator-guide/how-to/mod-commands/admin-only/data-analysis.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.
