Skip to main content

NoneBot 机器人攻击群友插件

Project description

nonebot

nonebot_plugin_fuck

✨ NoneBot 机器人攻击群友插件 ✨

license pypi python

使用方式

  • 直接在群里正常聊天,即可随机被机器人骂
  • 发送“骂我”,直接被机器人骂
  • 发送“插入脏话XXX”可向文件中插入脏话
  • 发送“骂他@XXX”,BOT将@此人并进行辱骂

额外配置项

在配置文件中加入(需要什么加什么)

# 是否开启本插件
fuck = true # 默认为False
# 100%攻击对象(发送消息必攻击)
fuck_user = [''] 
# 开启群组
fuck_group = []
# 免骂用户
fuck_white = ['']
# 随机概率
random = #默认0.10(1%)

安装

  1. 使用 pip 安装和更新,初次安装需要手动添加入口 (新版默认不带 bot.py 文件)
pip install --upgrade nonebot_plugin_fuck

pip 安装后在 Nonebot2 入口文件(例如 bot.py )增加:

nonebot.load_plugin("nonebot_plugin_fuck")

TODO-LIST

  • 增加“骂他”功能
  • 增加“免骂”功能

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_fuck-1.2.0.tar.gz (140.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_fuck-1.2.0-py3-none-any.whl (140.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_fuck-1.2.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_fuck-1.2.0.tar.gz
  • Upload date:
  • Size: 140.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for nonebot_plugin_fuck-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a755d1c3741d314136e1cf3c4a787953f13dbef7b07a2cce6545b8225e0f576b
MD5 83151db6e4bf13b8f8c504397a2218a3
BLAKE2b-256 bf95b42903fb946e1b74fe4f971e18fcf13e52db691e97b1176a2cc17c5cd8f7

See more details on using hashes here.

File details

Details for the file nonebot_plugin_fuck-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_fuck-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 004d50054a2570da50782769a40455c6e707cd17a67d888d1f79e68ee98a03f1
MD5 e599f76948f10a010b1da1ae816474e1
BLAKE2b-256 442886fac7cfb81a983b37dfa68a6e83bfb59a8e8ef03080bd3d31516226bf8f

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