Skip to main content

Simple quotation plugin

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-quotation

✨ NoneBot Plugin ✨

license pypi python pypi download

📖 介绍

基于 nonebot-plugin-alconna, 适用于 Nonebot2 的语录插件

💿 安装

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

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

plugins = ["nonebot_plugin_quotation"]

⚙️ 配置

常规配置项,位于.env文件里

#受信任的用户id列表,列表内用户可以直接添加语录和审查语录
quotation_trusted_user=[]

💬 指令

指令表

指令 权限 需要@ 范围 说明
来点(参数) 所有人 所有 使用时去掉括号
{COMMAND_START}查询语录 SUPERUSER 所有 同上
{COMMAND_START}更新语录 SUPERUSER & 信任用户 所有 同上
{COMMAND_START}添加(参数) 所有人 所有 同上
{COMMAND_START}审查语录 SUPERUSER & 信任用户 所有 同上
{COMMAND_START}查询语录别名 SUPERUSER & 信任用户 所有 同上
{COMMAND_START}添加语录别名(参数1)>参数(2) SUPERUSER & 信任用户 所有 同上,在(参数1)位置下添加一个指向(参数2)的软链接
{COMMAND_START}删除语录别名 SUPERUSER & 信任用户 所有 同上

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_quotation-0.1.2.tar.gz (6.7 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_quotation-0.1.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_quotation-0.1.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_quotation-0.1.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_quotation-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b437f9f1aea59af7bab860ced8e0f98117425fef24305842cdef1f1704ac8589
MD5 76e6068219f361e4ebdbf4a9e959ebb2
BLAKE2b-256 b1aa1a3503d979a77aa23815cfdeb815b245361660435ef4cc6b8efc846f239c

See more details on using hashes here.

File details

Details for the file nonebot_plugin_quotation-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_quotation-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_quotation-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 872c4fdf951b322891899b7acb22063e945c4f6c2fdf655f0caabd442acac964
MD5 62b0ad881cd03c8b45f5f799170256c3
BLAKE2b-256 15ba41a33e52bfee4623a5bb93740f50c50c2306526608b100b511d638af30a7

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