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,该项指明用户具有什么权限才能通过鉴权
# 参考: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.1.1.tar.gz (7.6 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.1.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot-plugin-pixivbot-kook-1.1.1.tar.gz.

File metadata

File hashes

Hashes for nonebot-plugin-pixivbot-kook-1.1.1.tar.gz
Algorithm Hash digest
SHA256 7ff6a19315746e0e1b726604d41bcc07931ca21fe16d7c973e7d604c83f3560a
MD5 7c553d99a65f886bb5ff37d36718eb6b
BLAKE2b-256 ca907d8b3ee6d1592b29b0b80b1ec23fc0ec08cc7b097785de82dc2f5a714de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_pixivbot_kook-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbe33cae14bc61cdebc380adb2ff2535cc0830f662e051b310cf7025267ce5b
MD5 21185a0b512c033e633af1455f1fde4a
BLAKE2b-256 0bc65f87b1ceb9797ed24fde864088c21970ced592a21d020e6dedfe541f7c94

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