Metadata-Version: 2.4
Name: ErisPulse-InfoQuery
Version: 1.0.0
Summary: 信息统计查询模块，用于查询InfoStats收集的统计数据
Author-email: wsu2059q <wsu2059@qq.com>
License: Copyright 2025 wsu2059q
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project-URL: homepage, https://github.com/wsu2059q/ErisPulse-InfoQuery
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ErisPulse-InfoQuery

信息统计查询模块，用于查询 InfoStats 模块收集的统计数据。

## 功能

该模块提供了一系列指令，用于查询由 `ErisPulse-InfoStats` 模块收集的统计信息，支持所有平台。

## 指令列表

- `/stats` - 显示总体统计信息
- `/platform` - 显示各平台统计信息
- `/recent [数量]` - 显示最近事件（默认10条，最多50条）
- `/user [用户ID]` - 显示用户统计信息（私聊中可省略ID）
- `/group [群组ID] - 显示群组统计信息（群组中可省略ID）
- `/infohelp` - 显示帮助信息

## 配置

模块支持自定义指令名称。默认配置如下：

```toml
[InfoQuery]
default_limit = 10
max_limit = 50

[InfoQuery.commands]
stats = "stats"
platform = "platform"
recent = "recent"
user = "user"
group = "group"
help = "infohelp"
```
