📖 介绍
不论在哪里,总有那么几个句子能穿透你的心。把这些句子汇聚起来,传递更多的感动。简单来说,一言指的就是一句话,可以是动漫中的台词,也可以是网络上的各种小段子。留下你所喜欢的那一句话,与大家分享,这就是一言存在的目的。
数据来源于Hitokoto
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-hitokoto
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-hitokoto
pdm
pdm add nonebot-plugin-hitokoto
poetry
poetry add nonebot-plugin-hitokoto
conda
conda install nonebot-plugin-hitokoto
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_hitokoto')
从 github 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下命令克隆此储存库git clone https://github.com/A-kirami/nonebot-plugin-hitokoto.git
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('src.plugins.nonebot_plugin_hitokoto')
🎉 使用
指令表
| 指令 | 说明 |
|---|---|
| 一言 | 来一条一言 |
Metadata
Release files for nonebot-plugin-hitokoto 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot-plugin-hitokoto-0.2.1.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_hitokoto-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / nonebot-plugin-hitokoto-0.2.1.tar.gz
| Download URL | nonebot-plugin-hitokoto-0.2.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09acf7701bcfb70ab746accf843ad4fa2dc7f8d28fedc14eaed3f56da0dd1351
|
|
BLAKE2b-256 checksum How to use checksums |
0830defbb6c5e3c701462e44fae39d3a0e0215cb4d166c2ee5d27252e637e8ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nonebot_plugin_hitokoto-0.2.1-py3-none-any.whl
| Download URL | nonebot_plugin_hitokoto-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d84445a5d8d391ece72feeb51c129703e1f5c7a5610db97b443246fb09bbe6bc
|
|
BLAKE2b-256 checksum How to use checksums |
ddaae81d855ba1d1581e10d5870ffb309332dd389a1df493a62b9dd6b1cc13e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for nonebot-plugin-hitokoto 0.2.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.