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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09acf7701bcfb70ab746accf843ad4fa2dc7f8d28fedc14eaed3f56da0dd1351 |
|
MD5 | 40a7b95a464052be4d3eb75c3caf56d1 |
|
BLAKE2b-256 | 0830defbb6c5e3c701462e44fae39d3a0e0215cb4d166c2ee5d27252e637e8ba |
Close
Hashes for nonebot_plugin_hitokoto-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84445a5d8d391ece72feeb51c129703e1f5c7a5610db97b443246fb09bbe6bc |
|
MD5 | 9cb1a00e03c495e37d0c1eba21ac786b |
|
BLAKE2b-256 | ddaae81d855ba1d1581e10d5870ffb309332dd389a1df493a62b9dd6b1cc13e4 |