Skip to main content

a logger for TRPG

Project description

TRPG Logger

基于 nonebot2 以及 go-cqhttp 的 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 的 enable_self_message 设置为 true
  • 在记录时间超过 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.2.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_trpglogger-0.2.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_trpglogger-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_trpglogger-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ad4994d8bca756a030992e91e3603c744e61d5e46dc14de7d6bea5fe86144c2f
MD5 95d8eee1542e0a63e30908c3470fa940
BLAKE2b-256 7fab9c5b00a28a86db63649524c5104ccc37bb6670f43759a1fb537721aff6fa

See more details on using hashes here.

Provenance

File details

Details for the file nonebot_plugin_trpglogger-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_trpglogger-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e816f2134069aa6176d550fce481db967f1f4d7cbe71af33080ee77a746e5f0b
MD5 c31cc124910286c8a3cb2dae28792573
BLAKE2b-256 29268fb6d9cd34a0404c93b56137bcb5d0ea942f4df5d4eb46a5daf47bfd09e3

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