One sentence a day in Nonebot2
Project description
📖 介绍
不论在哪里,总有那么几个句子能穿透你的心。把这些句子汇聚起来,传递更多的感动。简单来说,一言指的就是一句话,可以是动漫中的台词,也可以是网络上的各种小段子。留下你所喜欢的那一句话,与大家分享,这就是一言存在的目的。
数据来源于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')
🎉 使用
指令表
指令 | 说明 |
---|---|
一言 | 来一条一言 |
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
Close
Hashes for nonebot-plugin-hitokoto-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2154302a3f79d32e821afda02833c95548f3b3df52ab011732cb6e22d2131a4c |
|
MD5 | f045a0adef565793bec6937611a9f37e |
|
BLAKE2b-256 | ed01019a73b3ef11662ab36543fa8954e532a6f6b02a9e80b668828df70189a4 |
Close
Hashes for nonebot_plugin_hitokoto-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a0807781736baf910dffe669a8f0b2c81a4aa3422c3b75132b4ce4f86223b8b |
|
MD5 | 0595a869c479c0d9c18dc100741ef1e7 |
|
BLAKE2b-256 | a3a193a7edd683eff9eef8911fbeda871648d3b7cf7026e9551ecb4fe9f06c78 |