Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-miao

✨ 让Bot的发言添加一些奇怪的口癖! ✨

license pypi python

📖 介绍

通过on_calling_api钩子,给你的Bot的纯文本发言添加一些奇怪的口癖(。

💿 安装

在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

nb plugin install nonebot-plugin-miao

✨ 例子

以内置的echo插件(作用是复读你的话)为例

- /echo 诶嘿
- 诶嘿喵

- /echo 诶呦你干嘛
- 诶呦你干嘛旺

🔧 配置项

在你的bot的配置文件(.env.*)中添加以下配置项(不区分大小写)

配置项 默认值 说明
miao_words ["喵", "旺"] 口癖词列表
miao_probability 0.5 添加口癖的概率
miao_position end 添加口癖的位置,可选start(开头)、end(结尾)、random(句子中随机位置)
miao_count 1 最多添加的词数量

💝 鸣谢

  • Nonebot: 本项目的基础,非常好用的聊天机器人框架。

Metadata

Release files for nonebot-plugin-miao 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-miao 1.1.0
File Size Uploaded
nonebot_plugin_miao-1.1.0.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-miao 1.1.0
File Interpreter ABI Platform
nonebot_plugin_miao-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / nonebot_plugin_miao-1.1.0.tar.gz

Download URL nonebot_plugin_miao-1.1.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fdec89f7f1ebff93edd36af815adca05eaefa28f3dc67be6dd524a3e08e90420
BLAKE2b-256 checksum
How to use checksums
7f014b55a07fa4a51876844f5074cba4eee0ce334707cf1e9fdb7af4171fa863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / nonebot_plugin_miao-1.1.0-py3-none-any.whl

Download URL nonebot_plugin_miao-1.1.0-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a91cc689c1813369a5fd5787dab82f37bc83698131c77dc61aff693d2509df8e
BLAKE2b-256 checksum
How to use checksums
bdb0b1c04597897cf51115957e9ad2d566476ce6a870ea5e4294ea635d2e1bb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page