# Auttaja 历史

该 `/auttaja` command 组提供对历史处罚记录的读取（以及有限写入）访问，这些记录此前由 Auttaja 机器人管理。此数据存储在 Supabase 表中，并需要额外配置——见 [配置](/zh/zi-tuo-guan/configuration.md#auttaja--supabase).

> 如果未配置 Supabase，所有 `/auttaja` 命令都将不可用。

***

## /auttaja offender

查看某个用户收到的所有处罚。

| 选项             | 必填 | 描述                    |
| -------------- | -- | --------------------- |
| `用户`           | 是  | 要查询的 Discord 用户       |
| `show_removed` | 否  | 包含已移除/撤销的处罚（默认：false） |

返回按时间戳排序的分页嵌入消息。每条记录显示操作类型、原因、处罚者和时间戳。

**操作类型及其标识：**

| 操作      | 标识 |
| ------- | -- |
| ban     | 🔨 |
| tempban | 🕐 |
| softban | 🪃 |
| mute    | 🔇 |
| kick    | 👢 |
| warn    | ⚠️ |

***

## /auttaja punisher

查看某位工作人员发出的所有处罚。

| 选项             | 必填 | 描述                 |
| -------------- | -- | ------------------ |
| `用户`           | 是  | 要查询的工作人员           |
| `show_removed` | 否  | 包含已移除的处罚（默认：false） |

***

## /auttaja lb

来自 Auttaja 历史记录的排行榜。

| 选项   | 必填 | 描述                                            |
| ---- | -- | --------------------------------------------- |
| `类型` | 是  | `offender` — 被处罚最多的用户，或 `punisher` — 最活跃的工作人员 |

***

## /auttaja edit

通过模态窗口编辑一条处罚记录。

| 选项   | 必填 | 描述               |
| ---- | -- | ---------------- |
| `id` | 是  | Supabase 处罚记录 ID |

将打开一个包含可编辑字段的模态窗口：

* 违规者（Discord ID）
* 处罚者（Discord ID）
* 操作类型
* 原因


---

# 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.vigila.augystudios.com/zh/shi-yong-fang-fa/auttaja.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.
