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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01dfc84dc6e6435f56ed515fe69a60cb840a8bfac4a13c5218a7918ce2ff6d8 |
|
MD5 | a635c8c43015869fd66f5ee3f5ba866e |
|
BLAKE2b-256 | dba5c5a7f3a0e7ea0759f67df95d9207fec4945a2487c8950bdbbcb04e7307ff |
Close
Hashes for nonebot_plugin_hitokoto-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b62dc30d482841a2fe015591b1c8e33f2e4e9ab27e4123f09c2e0e8ff988deca |
|
MD5 | 0b5e7c04001c8ec4ce273513797a7c2b |
|
BLAKE2b-256 | 334a136e8106d8c5d58ac54aa252c786a72d3c1f76b773fad713d94a07c10410 |