Skip to main content

Bot的消息也是消息!

Project description

nonebot

NoneBot Plugin MMM

License Python NoneBot

:eya46

作用

onebot v11 协议中 bot 的消息作为正常事件进行处理

小心死循环!

使用 plugin-alconna 记得添加 ALCONNA_RESPONSE_SELF=True 配置

原因: https://github.com/nonebot/plugin-alconna/releases/tag/v0.53.0

安装方式

依赖管理

  • pip install nonebot-plugin-mmm
  • poetry add nonebot-plugin-mmm
  • pdm add nonebot-plugin-mmm

bot.py 中添加 nonebot.load_plugin("nonebot_plugin_mmm")

nb-cli

  • nb plugin install nonebot-plugin-mmm

配置项

非必要配置项

  • mmm_block: 是否block message_sent 后续matcher
  • mmm_priority: on message_sent 的优先级

依赖项

python = "^3.9"
nonebot2 = "^2.3.0"
nonebot-adapter-onebot = "^2.1.0"

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_mmm-0.1.6.tar.gz (3.2 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_mmm-0.1.6-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_mmm-0.1.6.tar.gz.

File metadata

  • Download URL: nonebot_plugin_mmm-0.1.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_plugin_mmm-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c94dc42a532b44c6acc6082089d3f5d7ad1002317ed0ef05cc32679f4d6a1f18
MD5 f0df7deaa54ce7e05d4d95ca3ac9a6b2
BLAKE2b-256 ce998972d7ab12a8673a70f272785dcd9bf205d374cae59a333fa09fd6ce342a

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mmm-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_mmm-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_plugin_mmm-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 33e5350444a15a715375963d90d573c5273f27cffae786031905f217459a77c8
MD5 e3269995054ee81f7f27192216532a2f
BLAKE2b-256 a00cf2bac78cfd766ab2cb8f5e6cd599e0066635a54bfbc3afd2031098bfc68a

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