a logger for TRPG
Project description
TRPG Logger
基于 nonebot2 和 go-cqhttp 的 QQ 跑团记录记录器
用来记录跑团记录的 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot_plugin_trpglogger-0.3.3.tar.gz
.
File metadata
- Download URL: nonebot_plugin_trpglogger-0.3.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a617355dfc2677f092a01c13eaebcad874868ed1a903f800eba72eb4868968cf |
|
MD5 | a7f6c8deab8dfb6f1f737357f0024a6a |
|
BLAKE2b-256 | 692a074f400b7b1edb7fe155dc6ad55e6eecf58d7e14904652b6a3efa0e788f0 |
Provenance
File details
Details for the file nonebot_plugin_trpglogger-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_trpglogger-0.3.3-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0a2 CPython/3.9.9 Linux/5.15.13-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ee6c7db8994d9c39a81743a936b20e557901538788f852897d825037e8c78d |
|
MD5 | 2b8494d6c51948b8d1979d402ddd740e |
|
BLAKE2b-256 | f58a6de0a63353933b26dfed7698e22495b92d12e8c1cb2ec6a7d0d6de94c9e1 |