Skip to main content

NoneBot 机器人攻击群友插件

Project description

nonebot

nonebot_plugin_fuck

✨ NoneBot 机器人攻击群友插件 ✨
(本插件仅限onebot v11)

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_fuck-1.2.1.tar.gz
  • Upload date:
  • Size: 139.9 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.1.tar.gz
Algorithm Hash digest
SHA256 b91ca924a2c9c948fc4f56562d4a0a2764f5a5c14c01be90683eb04870ba7ef0
MD5 bda111d9ee6990d749e5c90f00ed345c
BLAKE2b-256 6831e0e50240397c70a1198b678e9659fb71304609c821ae5cf559a657fba0bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_fuck-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 379b26142a1f56b3edaabd4cc1d0537e1a404b35744a6dee3e75bf0059f6b9e1
MD5 e53e2d64407da502eb974adf68620485
BLAKE2b-256 81b5fafa1a2f339f4f1197a78eeaffdf5dc5235a9dae28e429c6dcb6574ce64e

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