随机发送MC建筑图片
Project description
📖 介绍
根据指令从爬好的数据库随机查询指定数量MC建筑图片链接下载并发送
图片来自推特图床,需要具备访问能力
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-mcpic
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-mcpic
pdm
pdm add nonebot-plugin-mcpic
poetry
poetry add nonebot-plugin-mcpic
conda
conda install nonebot-plugin-mcpic
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot-plugin-mcpic"]
🎉 使用
指令表
mc|MC|建筑+图片数量
e.g: 建筑, mc20
效果图
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_mcpic-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766c4ac5d9d130076abab1471c8fec81b7d0e0b42636adf95a81d4523a54c027 |
|
MD5 | c90a2b31ef8bb3acee02d2dd94fd7e96 |
|
BLAKE2b-256 | 79b849594632b5d0145997300a8a9a4e13ce435d95df24eb9c0b8a8ce565cc15 |