# pupbot-plugin-nodirty

> 检查你的群员有没有口吐芬芳

Latest version **1.0.6** (published 2023-02-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install pupbot-plugin-nodirty
pnpm add pupbot-plugin-nodirty
yarn add pupbot-plugin-nodirty
bun add pupbot-plugin-nodirty
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-02-08 |
| First published | 2023-02-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | goood_pig |
| Maintainers | goood_pig |
| Keywords | pupbot, pupbot-plugin |

## Links

- npm: https://www.npmjs.com/package/pupbot-plugin-nodirty
- npm.io page: https://npm.io/package/pupbot-plugin-nodirty

## Recent versions

- 1.0.6 (latest) — 2023-02-08
- 1.0.5 — 2023-02-08
- 1.0.4 — 2023-02-08
- 1.0.3 — 2023-02-02
- 1.0.2 — 2023-02-02
- 1.0.1 — 2023-02-02
- 1.0.0 — 2023-02-02

## README

# 脏话检测 for PupBot

[![npm-version](https://img.shields.io/npm/v/pupbot-plugin-nodirty?color=527dec&label=pupbot-plugin-nodirty&style=flat-square)](https://npm.im/pupbot-plugin-nodirty)
[![dm](https://shields.io/npm/dm/pupbot-plugin-nodirty?style=flat-square)](https://npm.im/pupbot-plugin-nodirty)

[`PupBot`](https://pupbot.cn) 的 [别说脏话](#) 插件。api来源于api.wer.plus接口，详情查看[api](hhttps://api.wer.plus/product/doc?id=28)。

**特征**

- 支持添加脏话，屏蔽一些api奇奇怪怪的bug的词，指定群聊

**安装**

```shell
/plugin add nodirty
```

**启用**

```shell
/plugin on nodirty
```

**使用**

```shell
【口吐芬芳】
```

**配置**

编辑 `框架目录/data/plugins/nodirtywords/config.json` 文件

> 注意：配置中不能带有注释，此处注释仅用作解释说明。

```jsonc
// `框架目录/data/plugins/nodirtywords/config.json` 文件内容
{
  /*开启的群聊*/
  "enableg": [
    114514,
    1919810
  ],
  /*是否在私聊启用*/
  "enablep": true,
  /*添加的脏话*/
  "add": [
    "煞笔"
  ],
  /*屏蔽的脏话*/
  "pass": [
    "开发",
    "help"
    /*这是我目前发现的一部分api的bug*/
    /*你也可以输入"#屏蔽 添加 <有bug的奇奇怪怪的词>"*/
  ]
}

```

修改后保存，使用以下命令重载插件即可生效。
```shell
/plugin reload nodirty
```

---
_Source: https://npm.io/package/pupbot-plugin-nodirty · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
