Skip to main content

NoneBot

nonebot-plugin-dog

✨随机返回一句舔狗日记...(舔狗,舔到最后一无所有)✨

license python

介绍: 点点Star✨

在群聊里发送“舔狗日记/一言”(等)命令时,bot返回一句舔狗日记/一言等文案

你可能需要在env里配置指令响应头 " / ",取决于你的command_start设置

SUPERUSER | 群主 | 管理 可以使用:“开启/关闭文案”来控制指令开关(默认=true)

插件所有配置文件和备份目录在/date/dog/下

⚠️插件支持手动检查更新:Command: "/检查更新",如果没有报错,发送: "/重启"完成bot更新,可不使用pip install --upgrade 更新

安装方式

nb-cli(推荐)

nb plugin install nonebot_plugin_dog

pip

pip install nonebot_plugin_dog

更新

pip install --upgrade nonebot-plugin-dog

还可以在群内发送指令:"/检查更新"来检查更新; 发送 "/重启"完成bot更新(推荐)

配置

在bot目录对应的.env.*文件中添加(有默认值,cd=0为不限制)

config type default example usage
dog_cd int 20 dog_cd = 20 调用''舔狗日记'cd默认值
laugh_cd int 20 laugh_cd=20 调用''讲个笑话''cd的默认值
hitokoto_cd int 20 hitokoto_cd=20 调用"一言"cd的默认值
wenan_cd int 20 wenan_cd=20 调用“文案”cd的默认值

示例

TODO

  • 增加指令开关
  • 增加插件热更新
  • 增加CD限制
  • 增加图片发送
  • 整合更多的API

更新日志

  • 0.3.0

    • 适配插件元数据

    • 优化代码

  • 0.2.9

    • 修复热更新bug
  • 0.2.8

    • 实现插件热更新
  • 0.2.7.1

    • 增加"舔狗日记"api

    • 插件支持手动检测更新

  • 0.2.7 # 2023-3-13

    • 修复api
  • 0.2.6 #2023-3-5

    • 修复了文案中存在换行符,且无法换行的错误

    • 优化cd逻辑,可以分别对应每一个指令

    • 整合了更多的api

  • 0.2.5 #2023-3-3

    • 整合了更多的api
    • 优化cd模式
  • 0.2.3 #2023-2-1

    • 修复文本末多出的空行
    • 修复readme中的错误
    • 增加指令开关
    • 更改指令CD默认值为20
  • 0.1.9 #2023-1-30

    • 增加cd限制
  • 0.1.0 #2023-1-29

    • 发布并优化代码

关于 ISSUE

以下 ISSUE 会被直接关闭

  • 提交 BUG 不使用 Template
  • 询问已知问题
  • 提问找不到重点
  • 重复提问

请注意, 开发者并没有义务回复您的问题. 您应该具备基本的提问技巧。
有关如何提问,请阅读《提问的智慧》

其他插件

QQ群消息,事件检测插件

Metadata

Release files for nonebot-plugin-dog 0.3.1

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-dog 0.3.1
File Size Uploaded Provenance Actions
nonebot_plugin_dog-0.3.1.tar.gz 12.1 kB Without provenance Details for nonebot_plugin_dog-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-dog 0.3.1
File Interpreter ABI Platform Actions
nonebot_plugin_dog-0.3.1-py3-none-any.whl Python 3 none any Details for nonebot_plugin_dog-0.3.1-py3-none-any.whl

Total release size: 23.8 kB

Release files / nonebot_plugin_dog-0.3.1.tar.gz

Download URL nonebot_plugin_dog-0.3.1.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4fb2c67bed0025ff51baf03771ccf6f774ae23362064a99c9258e3ecead59f44
BLAKE2b-256 checksum
How to use checksums
73e72d74772af12a0dbc2fa8303302abafe9c7cc8e10fff6d7c53dc03d8d5bb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / nonebot_plugin_dog-0.3.1-py3-none-any.whl

Download URL nonebot_plugin_dog-0.3.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91b605ac8e7e02068a70b2212e8758d6e0bfc8f3a21aa577ccbd7b2e6cd27487
BLAKE2b-256 checksum
How to use checksums
16772717dbe6177adbe09ec4ab532a00a2fc76c4318b80a02f464a77f04088bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Security for nonebot-plugin-dog 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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