A COC dice plugin for nonebot2
Project description
NoneBot Plugin Orangedice
一个普通的COC骰子插件
真的不点个Star吗?
使用方法
pip install nonebot_plugin_orangedice
nb plugin install nonebot_plugin_orangedice
注:0.2.0的版本的储存方式为文件储存
请因为SQLModel依赖导致冲突的用户下载此版本
nb plugin install nonebot_plugin_orangedice==0.2.0
可选配置
#version==0.2.0
CARD_FILE=card.json #人物卡文件位置
LOG_FILE=log.json #日志文件位置
CACHE_FILE=cache.json #缓存文件位置
#version>=0.2.1
CACHE_FILE=cache.txt # 缓存文件位置
SQLITE_FILE=DICE.db #数据库位置
插件指令
- .r [公式] 骰点(仅支持OneDice标准内COC骰子格式)
- .ra[属性][数值] 属性骰点[使用数值进行D100检定]
- .ra[属性] 属性骰点[从录卡数据中获取属性]
- .st[属性][数值] 人物卡录入
- .st clear 清除人物卡
- .log on 开启日志记录功能
- .log off 关闭日志记录功能
- .log upload 上传日志至群文件
- .log clear 清除此群日志
参考项目(让我学习许多Owo)
OneDice: Today, we stand as one.
nonebot_plugin_cocdicer: A COC dice plugin for Nonebot2
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot-plugin-orangedice-0.3.0.tar.gz.
File metadata
- Download URL: nonebot-plugin-orangedice-0.3.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
081ef75c392ff231de58da18215e73a622bc2539dc5051f45c14da0768a47088
|
|
| MD5 |
552edcb0f8d840ba512092f1147f1559
|
|
| BLAKE2b-256 |
f907c7de25d5f32fd745fd1178c3c5ed25a2529a159b99f88b1de8b0e8aeacee
|
File details
Details for the file nonebot_plugin_orangedice-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_orangedice-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf4d6053465bf2cf8baca9e38aed61f7024bbf1b533d45fcb672b4713591ad6
|
|
| MD5 |
d70047c5ba5a376f4a6727b55fe864bc
|
|
| BLAKE2b-256 |
80a59c2b223287283ea0978e561628f123ed2909ddb253e8fd7b53b9a70f4fa9
|