nonebot2插件:讲中英文笑话
Project description
nonebot-plugin-joke
📖 介绍
笑一笑,十年少~ 看个笑话吧~
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-joke
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-joke
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_joke"]
⚙️ 配置
嘿嘿,没什么好配置的
🎉 使用
关键词触发
中文笑话
关键词集合:{"讲个笑话", "说个笑话"}
英文笑话
关键词集合:{"讲个英文笑话", "讲个英语笑话", "说个英文笑话", "说个英语笑话"}
示例图
🙏鸣谢
使用 夏柔API 获取中文笑话
使用 JokeAPI 获取英文笑话
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_joke-0.1.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_joke-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72eace1004563bce88ca10200cb8d818ee829a8c23992278de209677b8fd8252
|
|
| MD5 |
d3b772949cba8811004d3deb790aea9c
|
|
| BLAKE2b-256 |
b623d9228306c207fada5c9b607ea30e78b48fc95ef83fa418749c4564a2cdb6
|
File details
Details for the file nonebot_plugin_joke-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_joke-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be9101fd974bcd490b5f557c7f0889ef19554f910458960e71e387398750c8e9
|
|
| MD5 |
2e2fd80bd82e9027cf23de941952189f
|
|
| BLAKE2b-256 |
3a8e79db077d71716619f29e439c44a07166bb299c2dba0597c6ecd47b6fd838
|