nonebot-plugin-sticker-saver


Namenonebot-plugin-sticker-saver JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/colasama/nonebot-plugin-sticker-saver
SummaryA very simple Nonebot plugin for saving QQ emoticons that no longer have a save option.
upload_time2024-04-26 13:36:24
maintainerNone
docs_urlNone
authorColanns
requires_python<4.0,>=3.8
licenseMIT
keywords nonebot2 表情包 sticker
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-sticker-saver

_✨ 一款很简单的,用于保存已经不提供保存选项的 QQ 表情包的 Nonebot 插件 ✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/colasama/nonebot-plugin-sticker-saver.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-sticker-saver">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-sticker-saver.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">

</div>

## 📖 介绍

一款很简单的用于保存表情包的 Nonebot 插件,无需任何配置,只需以 `.save` 命令回复表情包即可。

机器人回复的静态表情可以直接保存,动态表情可以通过短链接保存。

如果想要替换短链接 API,请修改代码第 20 行及以后部分。

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-sticker-saver

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-sticker-saver
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-sticker-saver
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-sticker-saver
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-sticker-saver
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_sticker_saver"]

</details>

## 🎉 使用方式
### 指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| save / 保存图片 / 保存表情 / 保存 | 无 | 否 | 私聊 / 群聊 | 通过回复消息来获取表情包文件和链接 |
### 效果图
![](./assets/sample.jpg)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/colasama/nonebot-plugin-sticker-saver",
    "name": "nonebot-plugin-sticker-saver",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "nonebot2, \u8868\u60c5\u5305, sticker",
    "author": "Colanns",
    "author_email": "mycolands@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b1/c4/aee1338f6dc3785dfda56642a7c8f96b7b9577305d2750c560d2db36796a/nonebot_plugin_sticker_saver-0.1.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-sticker-saver\n\n_\u2728 \u4e00\u6b3e\u5f88\u7b80\u5355\u7684\uff0c\u7528\u4e8e\u4fdd\u5b58\u5df2\u7ecf\u4e0d\u63d0\u4f9b\u4fdd\u5b58\u9009\u9879\u7684 QQ \u8868\u60c5\u5305\u7684 Nonebot \u63d2\u4ef6 \u2728_\n\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/colasama/nonebot-plugin-sticker-saver.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-sticker-saver\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-sticker-saver.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u4e00\u6b3e\u5f88\u7b80\u5355\u7684\u7528\u4e8e\u4fdd\u5b58\u8868\u60c5\u5305\u7684 Nonebot \u63d2\u4ef6\uff0c\u65e0\u9700\u4efb\u4f55\u914d\u7f6e\uff0c\u53ea\u9700\u4ee5 `.save` \u547d\u4ee4\u56de\u590d\u8868\u60c5\u5305\u5373\u53ef\u3002\n\n\u673a\u5668\u4eba\u56de\u590d\u7684\u9759\u6001\u8868\u60c5\u53ef\u4ee5\u76f4\u63a5\u4fdd\u5b58\uff0c\u52a8\u6001\u8868\u60c5\u53ef\u4ee5\u901a\u8fc7\u77ed\u94fe\u63a5\u4fdd\u5b58\u3002\n\n\u5982\u679c\u60f3\u8981\u66ff\u6362\u77ed\u94fe\u63a5 API\uff0c\u8bf7\u4fee\u6539\u4ee3\u7801\u7b2c 20 \u884c\u53ca\u4ee5\u540e\u90e8\u5206\u3002\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details open>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n    nb plugin install nonebot-plugin-sticker-saver\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n    pip install nonebot-plugin-sticker-saver\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-sticker-saver\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-sticker-saver\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-sticker-saver\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n    plugins = [\"nonebot_plugin_sticker_saver\"]\n\n</details>\n\n## \ud83c\udf89 \u4f7f\u7528\u65b9\u5f0f\n### \u6307\u4ee4\u8868\n| \u6307\u4ee4 | \u6743\u9650 | \u9700\u8981@ | \u8303\u56f4 | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|:----:|\n| save / \u4fdd\u5b58\u56fe\u7247 / \u4fdd\u5b58\u8868\u60c5 / \u4fdd\u5b58 | \u65e0 | \u5426 | \u79c1\u804a / \u7fa4\u804a | \u901a\u8fc7\u56de\u590d\u6d88\u606f\u6765\u83b7\u53d6\u8868\u60c5\u5305\u6587\u4ef6\u548c\u94fe\u63a5 |\n### \u6548\u679c\u56fe\n![](./assets/sample.jpg)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A very simple Nonebot plugin for saving QQ emoticons that no longer have a save option.",
    "version": "0.1.2",
    "project_urls": {
        "Documentation": "https://github.com/colasama/nonebot-plugin-sticker-saver",
        "Homepage": "https://github.com/colasama/nonebot-plugin-sticker-saver",
        "Repository": "https://github.com/colasama/nonebot-plugin-sticker-saver"
    },
    "split_keywords": [
        "nonebot2",
        " \u8868\u60c5\u5305",
        " sticker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b64202c95870b8bba40381ce2ac9a51686315b9e8fb8577f1569c55b5e83a58",
                "md5": "4cfe916e163c74ed183193598dd6754a",
                "sha256": "52842731a3af60858c3a7b94677724b7b8bc0efaecb4c37c0843c522d1fec215"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_sticker_saver-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4cfe916e163c74ed183193598dd6754a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 4417,
            "upload_time": "2024-04-26T13:36:22",
            "upload_time_iso_8601": "2024-04-26T13:36:22.593209Z",
            "url": "https://files.pythonhosted.org/packages/2b/64/202c95870b8bba40381ce2ac9a51686315b9e8fb8577f1569c55b5e83a58/nonebot_plugin_sticker_saver-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1c4aee1338f6dc3785dfda56642a7c8f96b7b9577305d2750c560d2db36796a",
                "md5": "f4333ab175856a94dc36ea12949b2e98",
                "sha256": "1a8ecb1a9be306352b36f41629f212997950fb775f738711016ef3a515b4f5b8"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_sticker_saver-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f4333ab175856a94dc36ea12949b2e98",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 3561,
            "upload_time": "2024-04-26T13:36:24",
            "upload_time_iso_8601": "2024-04-26T13:36:24.087034Z",
            "url": "https://files.pythonhosted.org/packages/b1/c4/aee1338f6dc3785dfda56642a7c8f96b7b9577305d2750c560d2db36796a/nonebot_plugin_sticker_saver-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 13:36:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "colasama",
    "github_project": "nonebot-plugin-sticker-saver",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-sticker-saver"
}
        
Elapsed time: 0.24743s