Skip to main content

Pallas-Bot 官方扩展:牛牛在吗、报数与离线邮件通知。

Project description

牛牛状态

牛牛状态 pallas-plugin-bot-status

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

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

安装方式

需已安装 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_moderator
bot_status.count everyone
bot_status.test_mail superuser

配置项

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

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

排障

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

实现

源码位置:src/pallas_plugin_bot_status/

关键文件:

实现要点:

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

相关链接

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pallas_plugin_bot_status-4.0.4.tar.gz (401.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pallas_plugin_bot_status-4.0.4-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file pallas_plugin_bot_status-4.0.4.tar.gz.

File metadata

  • Download URL: pallas_plugin_bot_status-4.0.4.tar.gz
  • Upload date:
  • Size: 401.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pallas_plugin_bot_status-4.0.4.tar.gz
Algorithm Hash digest
SHA256 851052e311c653d68cd4ae57bab53e4c580689589f75892ef5340c95e2f643c3
MD5 ae12f9d4b571753fe14f9df5abe7b195
BLAKE2b-256 7bdbe012278db3461bb4ba3815e6d0bc84811787df40ede3569a2086b4d877e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_bot_status-4.0.4.tar.gz:

Publisher: publish-pypi.yml on TogetsuDo/pallas-plugin-bot-status

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pallas_plugin_bot_status-4.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pallas_plugin_bot_status-4.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6f1c5a730f4d06b10cb2a79f11b6ade2c6d28fd1b7ac2a2be85ca136b43d515a
MD5 ad1446fa47f9ede969b6a52ce1bfbb3d
BLAKE2b-256 e7318cb47d56206abd73db4fa6a98a9836c9fd21c23aaeb3070c8ec0a5668e5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_bot_status-4.0.4-py3-none-any.whl:

Publisher: publish-pypi.yml on TogetsuDo/pallas-plugin-bot-status

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page