Skip to main content

Eavesdropper in NoneBot2

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-eavesdropper

✨ NoneBot 消息监听插件 ✨

license pypi python nonebot onebot

📖 介绍

转发指定会话消息给SUPERUSER

💿 安装

nb-cli安装, 包管理器安装 二选一

使用 nb-cli 安装 (暂未支持)

在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

nb plugin install nonebot-plugin-eavesdropper
使用包管理器安装

在 nonebot2 项目的插件目录下, 打开命令行,

根据你使用的包管理器, 输入相应的安装命令

pip
pip install nonebot-plugin-eavesdropper
pdm
pdm add nonebot-plugin-eavesdropper
poetry
poetry add nonebot-plugin-eavesdropper
conda
conda install nonebot-plugin-eavesdropper

打开 bot项目下的 pyproject.toml 文件,

在其 plugins 里加入 nonebot_plugin_eavesdropper

plugins = ["nonebot_plugin_eavesdropper"]

🎉 使用

指令表

  监听私聊 qq qq1 qq2 ...
  监听群聊 qq qq1 qq2 ...
  监听私聊 all
  监听群聊 all
  取消监听私聊 qq qq1 qq2 ...
  取消监听群聊 qq qq1 qq2 ...
  取消监听私聊 all
  取消监听群聊 all

  查看监听列表

  传话私聊 qq XXXXXX
  传话群聊 qq XXXXXX

TODO

  • 转发消息至指定群聊
  • 跨平台支持

⚠️ 注意事项

本插件目前仅支持 nonebot2 + onebot.v11 的使用方式, 一切非此二者结合的使用方式造成的问题请自行探索解决, 或者使用其他插件

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_eavesdropper-0.0.11.tar.gz (6.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_eavesdropper-0.0.11-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_eavesdropper-0.0.11.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_eavesdropper-0.0.11.tar.gz
Algorithm Hash digest
SHA256 0f4ad4fd24a75e4eaa86f275d12eb0be848e4d5c1e23f7331d7a3e2a3483bacc
MD5 885c539612dd220e5c42a90c0d3a216c
BLAKE2b-256 57a0a4dabd51b13faaf0436683fd1c4c34579709c30a7c01b33a7b83b1ad3249

See more details on using hashes here.

File details

Details for the file nonebot_plugin_eavesdropper-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_eavesdropper-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 8f27849e179e8f65b80035d69d4ff59fcf2fe4a35f9ef0e6199ed84979a24b11
MD5 fdb250b0280b710474dbe3a688b8d218
BLAKE2b-256 efc14bd241938b1f0f654a80c47ca9074ad9d44c1e6a0e3b9fb13621df3ca9ac

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