Nonebot Plugin Pixivbot (KOOK)
Project description
nonebot-plugin-pixivbot-kook
KOOK (原开黑啦) 协议版本的PixivBot
配置
额外配置:
# KOOK服务器鉴权策略,用于schedule等命令(可选值:nobody, everyone, must_have_permission)
pixiv_kook_admin_strategy=nobody
# 若上一项为must_have_permission,该项指明用户具有什么权限才能通过鉴权
# Bot必须拥有【管理角色】权限
# 参考:https://developer.kaiheila.cn/doc/http/channel
pixiv_kook_admin_must_have_permission=0
# 权限信息缓存时限(单位:秒)
# 使用缓存可避免每次鉴权都发送多次网络请求,但会导致权限更新无法及时反映,设置为0禁用缓存
pixiv_kook_admin_permission_cache_ttl=2*60*60
Special Thanks
LICENSE
MIT License
Copyright (c) 2022 ssttkkl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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
File details
Details for the file nonebot_plugin_pixivbot_kook-1.5.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_pixivbot_kook-1.5.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33edfaaeb5346fc75e88962ef17324b8b4e38683f29c0161bb24082861112cd6 |
|
MD5 | 082f171ab138b987519fb99d0f66befe |
|
BLAKE2b-256 | a260a2f923d3db4529754b4bf7b2d3f28b400a3c924d437adc7fcf97ccb44692 |
File details
Details for the file nonebot_plugin_pixivbot_kook-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_pixivbot_kook-1.5.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4e340ea4d4a5c4e8631c891ffeeb4c656228763d145e44ff5387fc12c6d1ce |
|
MD5 | 8e97ea6a8f148ffaf66fd9be07d27087 |
|
BLAKE2b-256 | a91e331d55d3d4dd3830e151ba9e244ee9fea83fb29775d08dd44c1ad10c4b27 |