A very simple Nonebot plugin for saving QQ emoticons that no longer have a save option.
Project description
📖 介绍
一款很简单的用于保存表情包的 Nonebot 插件,无需任何配置,只需以 .save
命令回复表情包即可。
机器人回复的静态表情可以直接保存,动态表情可以通过短链接保存。
如果想要替换短链接 API,请修改代码第 20 行及以后部分。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-sticker-saver
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-sticker-saver
pdm
pdm add nonebot-plugin-sticker-saver
poetry
poetry add nonebot-plugin-sticker-saver
conda
conda install nonebot-plugin-sticker-saver
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_sticker_saver"]
🎉 使用方式
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
save / 保存图片 / 保存表情 / 保存 | 无 | 否 | 私聊 / 群聊 | 通过回复消息来获取表情包文件和链接 |
效果图
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_sticker_saver-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ec9c239b20a44fe5336bebea3f191cbdfe9ebe1268716474516337e7454aa39 |
|
MD5 | 90640d31d3b67130ae3f114ca80b225b |
|
BLAKE2b-256 | 6de3d1d94309ef075c3ce6c3f414f806e6e6132542f9c2ea1034ecc068ab22a2 |
Close
Hashes for nonebot_plugin_sticker_saver-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3462977f0b4f6390fb6eff6b5befefe0202cdb9e6b62415a6adcc0a74bb5fc |
|
MD5 | a0af08a90e8adc735bf3f16eeb299c83 |
|
BLAKE2b-256 | 69005db2f407dd992d9c2afa117baa9f6dcce9e1e89fa101ee876d4216bf2097 |