Skip to main content

a logger for TRPG

Project description

TRPG Logger

基于 nonebot2go-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

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

原理

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

Bug

  • go-cqhttp 无法记录机器人本身发出的消息(即无法记录掷骰)
    请确保 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.3.2.tar.gz (16.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_trpglogger-0.3.2-py3-none-any.whl (17.3 kB view hashes)

Uploaded Python 3

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