Skip to main content

牛牛状态

牛牛状态 pallas-plugin-bot-status

查看在线情况、群内报数,并在离线时发送邮件提醒。

官方插件 控制台插件商店 安装命令 PyPI 版本

安装方式

需已安装 Pallas-Bot 4.0 或更高版本。推荐直接在控制台插件商店安装,或在本体项目中执行:

uv run pallas ext install pallas-plugin-bot-status

也可单独安装本包:

uv pip install pallas-plugin-bot-status

怎么使用

口令 / 触发 场景 说明
牛牛在吗 群内 / 私聊 查看在线和离线情况。
牛牛报数 / 牛牛出列 群内 在线牛牛依次报到。
测试邮件 群内 / 私聊 测试邮件通知配置。
离线邮件 群内 / 私聊 超管向离线牛牛号主发送提醒邮件。

详细用法、限制条件和可用范围以帮助为主。

命令权限

命令 ID 默认等级
bot_status.status 号主
bot_status.count 所有人
bot_status.test_mail 仅超管
bot_status.offline_mail 仅超管

配置项

可在控制台对应插件页中修改。

牛牛状态的常用配置包括 SMTP、通知邮箱、离线宽限时间和名册范围模式。

排障

现象 处理
收不到邮件 检查 SMTP 和通知邮箱配置。
报数不全 检查当前群里是否真的在线,以及分片协调是否正常。
误报离线 调大离线宽限时间。

实现

源码位置:src/pallas_plugin_bot_status/

关键文件:

实现要点:

  • 牛牛在吗 用于聚合状态,牛牛报数 更偏向当前群里的现场点名。
  • 邮件通知除了发到配置邮箱,还会尝试发给对应牛牛管理员的 QQ 邮箱。
  • 分片模式下,报数和状态统计会受当前配置的名册范围影响。

相关链接

Metadata

Release files for pallas-plugin-bot-status 4.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pallas-plugin-bot-status 4.0.12
File Size Uploaded
pallas_plugin_bot_status-4.0.12.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pallas-plugin-bot-status 4.0.12
File Interpreter ABI Platform
pallas_plugin_bot_status-4.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / pallas_plugin_bot_status-4.0.12.tar.gz

Download URL pallas_plugin_bot_status-4.0.12.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a35e0bcb8072d8e8eaacd467784e458ac46d6c37c58006205581b30578155f29
BLAKE2b-256 checksum
How to use checksums
9922ba7612173115d65aeae3df47703725a2312625bcc484318d59f3692e0c1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.

Transparency log

Release files / pallas_plugin_bot_status-4.0.12-py3-none-any.whl

Download URL pallas_plugin_bot_status-4.0.12-py3-none-any.whl
Size 41.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b306140c241e439cd0e4e8f41584772a3367e83e9a36269dcc8be9112bbe586b
BLAKE2b-256 checksum
How to use checksums
b72dec9fc4d5012319fa1d8591b82c510f2bec2e6f9b63d0c26cad4eced384d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.

Transparency log

Release history Release notifications | RSS feed

4.0.32

2 release files

4.0.31

2 release files

4.0.30

2 release files

4.0.29

2 release files

4.0.28

2 release files

4.0.27

2 release files

4.0.26

2 release files

4.0.17

2 release files

4.0.16

2 release files

4.0.15

2 release files

4.0.14

2 release files

This release

4.0.12 This release

2 release files

4.0.11

2 release files

4.0.10

2 release files

4.0.9

2 release files

4.0.8

2 release files

4.0.7

2 release files

4.0.6

2 release files

4.0.5

2 release files

4.0.4

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page