Skip to main content

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

Mikubill/pixivpy-async

nonebot/nonebot2

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_pixivbot_kook-1.4.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_pixivbot_kook-1.4.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_pixivbot_kook-1.4.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_pixivbot_kook-1.4.0.tar.gz
Algorithm Hash digest
SHA256 c89384ad786c992af6b68efb29442a4aad59a595e5af9a02a2a6e5ea0fc51b23
MD5 573411a02a89e52a2b29e9859f34065e
BLAKE2b-256 01ffc11dd3a9f5b1529e84d646e128e8949a85961570cb531c858a8e3ce0b429

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pixivbot_kook-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pixivbot_kook-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdaf16179c17167605a2adcdeb8c1bb7221fa25b432f1b7fb059b2d7a341e68a
MD5 c1256c53ef2dfa406f7ce2ec968c9f18
BLAKE2b-256 ea3dd42dbe71cd3b0a2911406be223cdea7ec2b184e76af3bf5a4d8e6c1a08fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page