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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8ecb1a9be306352b36f41629f212997950fb775f738711016ef3a515b4f5b8 |
|
MD5 | f4333ab175856a94dc36ea12949b2e98 |
|
BLAKE2b-256 | b1c4aee1338f6dc3785dfda56642a7c8f96b7b9577305d2750c560d2db36796a |
Close
Hashes for nonebot_plugin_sticker_saver-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52842731a3af60858c3a7b94677724b7b8bc0efaecb4c37c0843c522d1fec215 |
|
MD5 | 4cfe916e163c74ed183193598dd6754a |
|
BLAKE2b-256 | 2b64202c95870b8bba40381ce2ac9a51686315b9e8fb8577f1569c55b5e83a58 |