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.3.0.post1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

File hashes

Hashes for nonebot-plugin-pixivbot-kook-1.3.0.post1.tar.gz
Algorithm Hash digest
SHA256 c03a2ce0950706f30b14fd5d8a5353a57e3796f849fc7fccfface4e91ba57ff5
MD5 7f51bde9c7c5834ba2b1c8cd3f5e3616
BLAKE2b-256 39257973919f6a9f27db4ff12f01f5df1e2224c8c1be4b29416fad7047d6968e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pixivbot_kook-1.3.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pixivbot_kook-1.3.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 efbf32c3d1a5165a5ad2c88d9e6d5364f538af178fdca452f2264ad418294d7e
MD5 2ea81759a76cff66acae2c26d3cb29ac
BLAKE2b-256 f673ca3514d3148a04572dc1eba69ec96d69539b7fade84fe19117bc8392ca6d

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