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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_trpglogger-0.3.2.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0a2 CPython/3.9.9 Linux/5.15.13-arch1-1

File hashes

Hashes for nonebot_plugin_trpglogger-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f40dc50a3aeb47f0d8667e38348cbbcd38cf4f8ba03160b08aa4afe598406f83
MD5 4b2bc1be4eaa60b91c6fd6a9d0fcf862
BLAKE2b-256 405ed50335e89c14ce0cf8962f73c1e13585c781a31b65f30cdc095ba8b3262e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_trpglogger-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cdbace96ced9eb69ffc8518be2facac03c74846480ea46112d89eef0f8278d5
MD5 49628d81221b84758717b721b9626a69
BLAKE2b-256 957f0aaaa26a10403977310e4179f3e89cd7b3bf3830e0fedffeb41b988fa7d7

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