nonebot-plugin-longtu


Namenonebot-plugin-longtu JSON
Version 0.1.1.post1 PyPI version JSON
download
home_pagehttps://github.com/Perseus037/nonebot_plugin_longtu/
Summary随机发送攻击性极强的龙图
upload_time2024-01-12 00:49:15
maintainer
docs_urlNone
author
requires_python<4.0,>=3.8
licenseMIT
keywords longyutao longtu nonebot nonebot2 bot qq
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center"> 
  
  <img src="https://github.com/Perseus037/data/blob/master/longtu.png?raw=true" alt="2024年是龙年...我都准备好了" width="280" height="280">

# nonebot-plugin-longtu


_✨一个随机发送龙图的nonebot2插件✨_

<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
<a href="https://pdm.fming.dev">
  <img src="https://img.shields.io/badge/pdm-managed-blueviolet" alt="pdm-managed">
</a>
<!-- <a href="https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/f4778875-45a4-4688-8e1b-b8c844440abb">
  <img src="https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/f4778875-45a4-4688-8e1b-b8c844440abb.svg" alt="wakatime">
</a> -->

<br />

<a href="./LICENSE">
  <img src="https://img.shields.io/github/license/lgc-NB2Dev/nonebot-plugin-uma.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-longtu">
  <img src="https://img.shields.io/pypi/v/nonebot-plugin-longtu.svg" alt="pypi">
</a>
<a href="https://pypi.org/project/nonebot-plugin-longtu/">
  <img src="https://img.shields.io/pypi/dm/nonebot-plugin-longtu.svg" alt="pypi download">
</a>


</div>

## 💬 前言

2024年是龙年...我都准备好了.jpg

## 📖 介绍

一个非常简单的nonebot2插件,输入指令后会从神秘的龙图仓库(内含1500张精选龙图)中随机发送一张(~~可爱~~)的龙图.

现在只有最基础的功能,最近又太忙,等以后有空的时候写点好玩的新功能。

ps:攻击性较强,请酌情使用。

神秘的龙图仓库:https://git.acwing.com/Est/dragon

## 💿 安装

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

```bash
nb plugin install nonebot-plugin-longtu
```
-->

</details>

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

<details open>
<summary>pip</summary>

```bash
pip install nonebot-plugin-longtu
```

</details>
<details>
<summary>pdm</summary>

```bash
pdm add nonebot-plugin-longtu
```

</details>
<details>
<summary>poetry</summary>

```bash
poetry add nonebot-plugin-uma
```

</details>
<details>
<summary>conda</summary>

```bash
conda install nonebot-plugin-longtu
```

</details>

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

```toml
[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_longtu"
]
```

</details>

## ⚙️ 配置

暂无

## 🎉 使用

现有指令列表:

dragon,龙龙,龙图:发送一张可爱的龙龙图片

龙图 3:发送三张可爱的龙龙图片

示例:<img src="https://github.com/Perseus037/data/blob/master/nonebot_plugin_longtu%20example.png" alt="示例" >

## 📞 制作者

### 黑纸折扇 [Perseus037] (https://github.com/Perseus037)

- QQ: 1209228678

### Whike [Whiked] (https://github.com/Whiked)

- QQ: 274752001

## 🙏 感谢

student_2333 (https://github.com/lgc2333) 的无私帮助。

## 📝 更新日志

### 0.1.0.post5

- 增加新功能,多张龙图发送


### 0.1.0.post4

- 增加了更多类型的httpx错误处理
- 修改FinishedException位置

### 0.1.0.post1-0.1.0.post3

- 仓库内由测试的50张龙图扩展到了1500张精选龙图,随机范围更广(~~攻击性更强~~)。
- 常规修正

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Perseus037/nonebot_plugin_longtu/",
    "name": "nonebot-plugin-longtu",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": "",
    "keywords": "longyutao longtu nonebot nonebot2 bot qq",
    "author": "",
    "author_email": "Perseus037 <1209228678@qq.com>",
    "download_url": "https://files.pythonhosted.org/packages/d8/9d/492d6cddd60d06ebe2737481e83db6edb93fa43adcef294ff710b4f9ccec/nonebot_plugin_longtu-0.1.1.post1.tar.gz",
    "platform": null,
    "description": "<div align=\"center\"> \n  \n  <img src=\"https://github.com/Perseus037/data/blob/master/longtu.png?raw=true\" alt=\"2024\u5e74\u662f\u9f99\u5e74...\u6211\u90fd\u51c6\u5907\u597d\u4e86\" width=\"280\" height=\"280\">\n\n# nonebot-plugin-longtu\n\n\n_\u2728\u4e00\u4e2a\u968f\u673a\u53d1\u9001\u9f99\u56fe\u7684nonebot2\u63d2\u4ef6\u2728_\n\n<img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n<a href=\"https://pdm.fming.dev\">\n  <img src=\"https://img.shields.io/badge/pdm-managed-blueviolet\" alt=\"pdm-managed\">\n</a>\n<!-- <a href=\"https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/f4778875-45a4-4688-8e1b-b8c844440abb\">\n  <img src=\"https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/f4778875-45a4-4688-8e1b-b8c844440abb.svg\" alt=\"wakatime\">\n</a> -->\n\n<br />\n\n<a href=\"./LICENSE\">\n  <img src=\"https://img.shields.io/github/license/lgc-NB2Dev/nonebot-plugin-uma.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-longtu\">\n  <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-longtu.svg\" alt=\"pypi\">\n</a>\n<a href=\"https://pypi.org/project/nonebot-plugin-longtu/\">\n  <img src=\"https://img.shields.io/pypi/dm/nonebot-plugin-longtu.svg\" alt=\"pypi download\">\n</a>\n\n\n</div>\n\n## \ud83d\udcac \u524d\u8a00\n\n2024\u5e74\u662f\u9f99\u5e74...\u6211\u90fd\u51c6\u5907\u597d\u4e86.jpg\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u7684nonebot2\u63d2\u4ef6\uff0c\u8f93\u5165\u6307\u4ee4\u540e\u4f1a\u4ece\u795e\u79d8\u7684\u9f99\u56fe\u4ed3\u5e93\uff08\u5185\u542b1500\u5f20\u7cbe\u9009\u9f99\u56fe\uff09\u4e2d\u968f\u673a\u53d1\u9001\u4e00\u5f20\uff08~~\u53ef\u7231~~\uff09\u7684\u9f99\u56fe.\n\n\u73b0\u5728\u53ea\u6709\u6700\u57fa\u7840\u7684\u529f\u80fd\uff0c\u6700\u8fd1\u53c8\u592a\u5fd9\uff0c\u7b49\u4ee5\u540e\u6709\u7a7a\u7684\u65f6\u5019\u5199\u70b9\u597d\u73a9\u7684\u65b0\u529f\u80fd\u3002\n\nps\uff1a\u653b\u51fb\u6027\u8f83\u5f3a\uff0c\u8bf7\u914c\u60c5\u4f7f\u7528\u3002\n\n\u795e\u79d8\u7684\u9f99\u56fe\u4ed3\u5e93\uff1ahttps://git.acwing.com/Est/dragon\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<!--\n<details open>\n<summary>[\u63a8\u8350] \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```bash\nnb plugin install nonebot-plugin-longtu\n```\n-->\n\n</details>\n\n<details open>\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 open>\n<summary>pip</summary>\n\n```bash\npip install nonebot-plugin-longtu\n```\n\n</details>\n<details>\n<summary>pdm</summary>\n\n```bash\npdm add nonebot-plugin-longtu\n```\n\n</details>\n<details>\n<summary>poetry</summary>\n\n```bash\npoetry add nonebot-plugin-uma\n```\n\n</details>\n<details>\n<summary>conda</summary>\n\n```bash\nconda install nonebot-plugin-longtu\n```\n\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u7684 `plugins` \u9879\u91cc\u8ffd\u52a0\u5199\u5165\n\n```toml\n[tool.nonebot]\nplugins = [\n    # ...\n    \"nonebot_plugin_longtu\"\n]\n```\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u6682\u65e0\n\n## \ud83c\udf89 \u4f7f\u7528\n\n\u73b0\u6709\u6307\u4ee4\u5217\u8868\uff1a\n\ndragon\uff0c\u9f99\u9f99\uff0c\u9f99\u56fe\uff1a\u53d1\u9001\u4e00\u5f20\u53ef\u7231\u7684\u9f99\u9f99\u56fe\u7247\n\n\u9f99\u56fe 3\uff1a\u53d1\u9001\u4e09\u5f20\u53ef\u7231\u7684\u9f99\u9f99\u56fe\u7247\n\n\u793a\u4f8b\uff1a<img src=\"https://github.com/Perseus037/data/blob/master/nonebot_plugin_longtu%20example.png\" alt=\"\u793a\u4f8b\" >\n\n## \ud83d\udcde \u5236\u4f5c\u8005\n\n### \u9ed1\u7eb8\u6298\u6247 [Perseus037] (https://github.com/Perseus037)\n\n- QQ: 1209228678\n\n### Whike [Whiked] (https://github.com/Whiked)\n\n- QQ: 274752001\n\n## \ud83d\ude4f \u611f\u8c22\n\nstudent_2333 (https://github.com/lgc2333) \u7684\u65e0\u79c1\u5e2e\u52a9\u3002\n\n## \ud83d\udcdd \u66f4\u65b0\u65e5\u5fd7\n\n### 0.1.0.post5\n\n- \u589e\u52a0\u65b0\u529f\u80fd\uff0c\u591a\u5f20\u9f99\u56fe\u53d1\u9001\n\n\n### 0.1.0.post4\n\n- \u589e\u52a0\u4e86\u66f4\u591a\u7c7b\u578b\u7684httpx\u9519\u8bef\u5904\u7406\n- \u4fee\u6539FinishedException\u4f4d\u7f6e\n\n### 0.1.0.post1-0.1.0.post3\n\n- \u4ed3\u5e93\u5185\u7531\u6d4b\u8bd5\u768450\u5f20\u9f99\u56fe\u6269\u5c55\u5230\u4e861500\u5f20\u7cbe\u9009\u9f99\u56fe\uff0c\u968f\u673a\u8303\u56f4\u66f4\u5e7f\uff08~~\u653b\u51fb\u6027\u66f4\u5f3a~~\uff09\u3002\n- \u5e38\u89c4\u4fee\u6b63\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u968f\u673a\u53d1\u9001\u653b\u51fb\u6027\u6781\u5f3a\u7684\u9f99\u56fe",
    "version": "0.1.1.post1",
    "project_urls": {
        "Homepage": "https://github.com/Perseus037/nonebot_plugin_longtu/"
    },
    "split_keywords": [
        "longyutao",
        "longtu",
        "nonebot",
        "nonebot2",
        "bot",
        "qq"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ba7cc9a4507566464ac3f3b0b8fd05b8d8634833dc966b9e1c588cd3412a180b",
                "md5": "8a2efe895f15040d0f57268aa940a57e",
                "sha256": "42b54c8d9abde30a96d47829fb6e540cc311f3ea8380a85382333e984a5387b9"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_longtu-0.1.1.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a2efe895f15040d0f57268aa940a57e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 16959,
            "upload_time": "2024-01-12T00:49:14",
            "upload_time_iso_8601": "2024-01-12T00:49:14.405162Z",
            "url": "https://files.pythonhosted.org/packages/ba/7c/c9a4507566464ac3f3b0b8fd05b8d8634833dc966b9e1c588cd3412a180b/nonebot_plugin_longtu-0.1.1.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d89d492d6cddd60d06ebe2737481e83db6edb93fa43adcef294ff710b4f9ccec",
                "md5": "c6e7e9b4190dd82ec9648d843d93fb2a",
                "sha256": "5d84cde8e85d1590907b4248784372212caa6bd62fba4c0f119ea45c44e4c468"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_longtu-0.1.1.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "c6e7e9b4190dd82ec9648d843d93fb2a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 16383,
            "upload_time": "2024-01-12T00:49:15",
            "upload_time_iso_8601": "2024-01-12T00:49:15.878504Z",
            "url": "https://files.pythonhosted.org/packages/d8/9d/492d6cddd60d06ebe2737481e83db6edb93fa43adcef294ff710b4f9ccec/nonebot_plugin_longtu-0.1.1.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-12 00:49:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Perseus037",
    "github_project": "nonebot_plugin_longtu",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-longtu"
}
        
Elapsed time: 0.19378s