Skip to main content

羡慕 koishi

Project description

nonebot-plugin-envious

✨ 羡慕 Koishi ✨

license pypi python

📖 介绍

好羡慕啊(`3´)

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-envious --upgrade

使用 pypi 源安装/更新

nb plugin install nonebot-plugin-envious --upgrade -i https://pypi.org/simple
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-envious
pdm
pdm add nonebot-plugin-envious
poetry
poetry add nonebot-plugin-envious
conda
conda install nonebot-plugin-envious

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

plugins = ["nonebot_plugin_envious"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
ENVIOUS_MAX_LEN 10 收纳羡慕关键词的最大字符串长度
ENVIOUS_LIST ["koishi"] 默认羡慕列表

🎉 使用

指令表

指令 权限 需要@ 范围 说明
羡慕 群员 群聊 顾名思义
当前羡慕 群员 群聊 顾名思义
清空羡慕 群员 群聊 顾名思义

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_envious-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_envious-0.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_envious-0.0.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_envious-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for nonebot_plugin_envious-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c6f11948da146d7b8cfe3066237b90a981de8d2e1d561415ad28147fe7eeadd5
MD5 2b07cd4aa58a5f3f7638da5aeea59a52
BLAKE2b-256 f9b0cad55ce879461a8ae3500081086207884e3bd3c7d239876cd4949b5929f5

See more details on using hashes here.

File details

Details for the file nonebot_plugin_envious-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_envious-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3cd2fec04b797dde50761829e6b259e9a132d584df3ca992136f7a7bec40747
MD5 1651d04ce5fcb42d69bb63d38dfeb7ce
BLAKE2b-256 bd4cc13cabfa0fbfed74f4a0780e54e591adf44c2e0a40a6b7c5cc9e77b7b676

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