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.22

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.22
File Size Uploaded
pallas_plugin_bot_status-4.0.22.tar.gz 1.3 MB Details

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / pallas_plugin_bot_status-4.0.22.tar.gz

Download URL pallas_plugin_bot_status-4.0.22.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
340d2b681a1563963da2a90e0724c7e91e2df4e924c615c47dc10fac094a9af4
BLAKE2b-256 checksum
How to use checksums
4c1343a108f7cd9de58662afc7da34c79688653da3f0c1344cbfe7c6d49bde28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 4, 2026.

Transparency log

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

Download URL pallas_plugin_bot_status-4.0.22-py3-none-any.whl
Size 43.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d2c94c3cb589807ac37477476d40c38db2d196dd4528cc8b46ccbbd85e0998e
BLAKE2b-256 checksum
How to use checksums
7bb6ccd38c4111807ee33dfa306e0238f9241176b0903e1a25fdf7dba3a45046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 4, 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

This release

4.0.22 This release

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

4.0.12

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