Skip to main content

a logger for TRPG

Project description

TRPG Logger

基于 nonebot2,兼容 go-cqhttpmirai-api-http 的 QQ 跑团记录记录器

License Python Version NoneBot Version Pypi Version

用来记录跑团记录的 nonebot2 插件,与 https://logpainter.kokona.tech 配合使用。

移植自 Dice-Developer-Team/TrpgLogger

安装

  • 使用nb-cli(推荐)
nb plugin install nonebot_plugin_trpglogger
  • 使用poetry
poetry add nonebot_plugin_trpglogger

开始使用

.log on 开始记录

.log off 停止记录

一个群同一时间段不能存在两个记录!

TO DO

  • 暂停记录
  • 多开记录
展开更多

原理

TrpgLogger* 一样,使用 AWS S3 进行储存(目前为了与 Logpainter 对接,是直接用溯洄的公共 bucket )。

Bug

  • go-cqhttp 无法记录机器人本身发出的消息(即无法记录掷骰)
    请确保 go-cqhttp 的 enable_self_message 设置为 true
  • mirai-api-http 无法记录机器人本身发出的消息(即无法记录掷骰)
    由于 mirai-api-http 没有 message_sent 事件,所以该 bug 暂时无法解决。
  • 在记录时间超过 24 小时后,如果上传文件失败会阻塞线程
    如何解决: 待定

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

nonebot_plugin_trpglogger-0.3.0a1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_trpglogger-0.3.0a1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_trpglogger-0.3.0a1.tar.gz
Algorithm Hash digest
SHA256 b4ad36e27824d116d3c3d828fcedddf67950a7c402b763002eb1ae8a4efc17e8
MD5 d670ab573d81865bcbfab098d5cf9587
BLAKE2b-256 6e1c53719bb9f9704c541f848b88aa43b2a9113ed9564f6fdebb4c9b4d6e519e

See more details on using hashes here.

Provenance

File details

Details for the file nonebot_plugin_trpglogger-0.3.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_trpglogger-0.3.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 44d56dc9ac831b86aa659c6c7bbf45043317a927b55449bb37cd3d3b73a89d12
MD5 a1543a2d8041beba42f988aae0faba68
BLAKE2b-256 f931d1290432c12706a5bbfcbe44ff028d6c4c1118bd77611b92f597cf66a591

See more details on using hashes here.

Provenance

Supported by

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