Skip to main content

A group chat accountant plugin for nonebot

Project description

nonebot-plugin-groupAccountant

license pypi python

📖 介绍

Nonebot 群记账插件

通过群消息记录开销,并保存在json文件中,可通过群消息读取

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-groupAccountant
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-groupAccountant
pdm
pdm add nonebot-plugin-groupAccountant
poetry
poetry add nonebot-plugin-groupAccountant
conda
conda install nonebot-plugin-groupAccountant

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_groupAccountant"]

🎉 使用

指令表

指令 权限 需要@ 范围 说明
记账 群员 私聊 /记账 [开销名] [人数] [金额]
清算 群员 群聊 /清算 [clear] (可选,用于清空账本)

效果图

效果

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_chataccountant-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_chataccountant-0.0.3.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_chataccountant-0.0.3.tar.gz
Algorithm Hash digest
SHA256 409cf20e575b926910942b8b6448efc3c198942fe8093694ce3b248c4c65aa7a
MD5 8c27e68100f14780894723da9e165e0a
BLAKE2b-256 f52de8f8aab72e01322e990f6606877d0a78e5a5389c330e71824ab0226c2475

See more details on using hashes here.

File details

Details for the file nonebot_plugin_chataccountant-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_chataccountant-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 62f5c8c68955c12b5795dc51dae8b3b9e7093b5591fa5506253f086741cdd0de
MD5 4613489b61fb3313459335c773317380
BLAKE2b-256 ab386876f1365a6d3d068f3655098f7f425e03e3bc7aeb0ec283decd19daca5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page