Skip to main content

Bottle post plugin in Nonebot

Project description

Nonebot 漂流瓶插件

  • 安装

    • 使用 pip install nonebot_plugin_bottle
    • 使用 nb plugin install nonebot_plugin_bottle
  • 指令 (前应带指令前缀)

    • 扔漂流瓶 [文本/图片]
    • 寄漂流瓶 [文本/图片] (同扔漂流瓶,防止指令冲突用)
    • 捡漂流瓶
    • 评论漂流瓶 [漂流瓶编号] [文本]
    • 举报漂流瓶 [漂流瓶编号]
    • 查看漂流瓶 [漂流瓶编号]
    • SUPERUSER指令:
      • 清空漂流瓶
      • 删除漂流瓶 [漂流瓶编号]
  • 功能须知

    • 扔漂流瓶指令无字数限制,如需要可在代码中修改
    • 捡漂流瓶若捡到的漂流瓶存在回复,则会显示最近三条(默认),使用查看漂流瓶查看所有回复
    • 查看漂流瓶为保证随机性,无评论时不展示漂流瓶内容,可在代码中修改
    • 评论漂流瓶若机器人有被回复人好友,会发送被回复通知
    • 举报漂流瓶五次(默认)后将自动删除
    • 清空漂流瓶无确认过程,使用需谨慎
    • 漂流瓶数据库存放在data/bottle/data.json
    • 黑名单群组可在__init__.py同级路径config.py中添加
  • 文字审核API配置(可选)

    • 百度智能云中申请API_KEYsecret_key
    • config.py中填入即可
    • 不配置该项则不进行审核操作
  • 已知bug

    • 第一次加载该插件时无法正常使用(重启后恢复)
  • 效果展示

    image
    image
    image

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_bottle-0.1.8.tar.gz (19.9 kB view details)

Uploaded Source

Built Distributions

nonebot_plugin_bottle-0.1.8.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

nonebot_plugin_bottle-0.1.8-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_bottle-0.1.8.tar.gz.

File metadata

  • Download URL: nonebot_plugin_bottle-0.1.8.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for nonebot_plugin_bottle-0.1.8.tar.gz
Algorithm Hash digest
SHA256 69736d2bb630455c150332ec2df863952d6ea60b4ae6740f54a90d8d85d22e96
MD5 1af9d11810ec84ac85b13dc88fd0ae13
BLAKE2b-256 2a656ff4df5429dd97fd28b54c1d3c600710a3fa27c7c196e53eb187a34b1f65

See more details on using hashes here.

File details

Details for the file nonebot_plugin_bottle-0.1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_bottle-0.1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6841fd047b7f984bb08d5cae58439166d08e2a17290d3e29312479425cd476c6
MD5 362ae5fa906d779b28ecfafc57abaa31
BLAKE2b-256 7a5798775221affaf1ecac5317e3c5f925dd510cb0806acc9c34769269ec247e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_bottle-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_bottle-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 67262f2e2419c460ae852ff5eecf9a8e14524fc934aae42fd68713fe237cf396
MD5 643be07cb334de078fd39c70aa51fa70
BLAKE2b-256 3c74afd0eee135be85ab7fbd53be3a8c725af37b8a1eef2501ef1c57fddab14d

See more details on using hashes here.

Supported by

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