nonebot-plugin-gotify
✨ 将NoneBot的通知和讯息推送到Gotify ✨
✨ Push NoneBot's notifications and messages to Gotify ✨
📖 介绍 Introduction
将Bot生命周期,聊天讯息实时推送到Gotify,实现个人通知管理器
Push Bot lifecycle and chat messages to Gotify in real time, and achieve personal notification manager
💿 安装 Installation
使用 nb-cli 安装(推荐,需先安装`nb-cli`) Use nb-cli
nb plugin install nonebot-plugin-gotify
使用 pip 安装 Use pip
pip install nonebot-plugin-gotify
使用包管理器安装 Use other package manager
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-gotify
pdm
pdm add nonebot-plugin-gotify
poetry
poetry add nonebot-plugin-gotify
conda
conda install nonebot-plugin-gotify
轻雪机器人已内置该插件,无需单独安装
LiteyukiBot has built-in this plugin, no need to install separately
🎉 使用 Usage
本插件暂时没有和用户交互的部分
This plugin does not have an interactive part with the user for the time being
⚙️ 配置 Configuration
# 必要字段 Required
GOTIFY_URL = "http://your-gotify-server:port"
GOTIFY_TOKEN = "your-gotify-token"
# 可选字段 Optional with default value
GOTIFY_PRIORITY = 5
GOTIFY_NICKNAME = "NoneBot" # 推送系统消息的昵称 Nickname for system messages
GOTIFY_TITLE = "{message_type}: {nickname}({user_id})" # 推送系统消息的标题模板 Title for system messages template
GOTIFY_MESSAGE = "{message}" # 推送系统消息的内容模板 Content for system messages template
GOTIFY_INCLUDES = ["message", "notice"] # 包含的消息类型 Includes message types
目前支持的占位符 Currently supported placeholders:
{message_type}: 消息类型 Message type{nickname}: 昵称 Nickname{user_id}: 用户ID User ID{message}: 消息内容 Message content
ℹ️ 其他 Other
-
目前该插件已内置在轻雪机器人应用中,无需单独安装. The plugin has been built into the LiteyukiBot application, no need to install separately
-
该插件仍然有许多内容需要完善,欢迎各位的建议及贡献. There are still many things to be improved in this plugin, welcome your suggestions and contributions
Metadata
Release files for nonebot-plugin-gotify 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_gotify-1.0.9.tar.gz | 4.6 kB | Without provenance | Details for nonebot_plugin_gotify-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_gotify-1.0.9-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_gotify-1.0.9-py3-none-any.whl |
Total release size: 10.8 kB
Release files / nonebot_plugin_gotify-1.0.9.tar.gz
| Download URL | nonebot_plugin_gotify-1.0.9.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5432910569bd2f5703022e574ccfd1def4a4c389eb66ff3e8497b25b077c252e
|
|
BLAKE2b-256 checksum How to use checksums |
0a676227d3e318a96c0173508c2445047fe790b480530499fa9cd18c729b0559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.19.3 CPython/3.10.12 Linux/6.5.0-1025-azure
|
Release files / nonebot_plugin_gotify-1.0.9-py3-none-any.whl
| Download URL | nonebot_plugin_gotify-1.0.9-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
072c051b572249f28acf75d6a1779173e44d2cafa7574bec8a76771d2e3d914d
|
|
BLAKE2b-256 checksum How to use checksums |
bea84cff0dd1b0d647396cd88cf8dd3760c7c766f8c5a3cd3c89c4c98b2f7d3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.19.3 CPython/3.10.12 Linux/6.5.0-1025-azure
|
Security for nonebot-plugin-gotify 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.