# 问答

![](/files/-M2XEgh-MASKFVxLglEL)

## ①功能区域

使用搜索可以找到提问中的文本进行筛选

导出导入为特殊格式，具体样例参考导出内容

## &#x20;②问答列表

这里可以找到全部群内问答。选择以在下方查看详细内容

{% hint style="success" %}
界面可以用shift键或Ctrl键多选（其实监控方案的关键词列表也可以）
{% endhint %}

## ③编辑区域

&#x20;我们提供了三种模式可供你选择

* 模糊匹配：只要消息中有问词则回复
* 精确匹配：只有消息内容=问内容才回复
* 正则匹配：放入正则，[具体正则编写方法](https://www.runoob.com/regexp/regexp-tutorial.html)

| 变量                                   | 说明                                          |
| ------------------------------------ | ------------------------------------------- |
| \[@qq]                               | @提问者                                        |
| \[qq]                                | 提问者QQ                                       |
| \[bq数字]                              | 经典表情，如\[bq14]、\[bq20]                       |
| \[name]                              | 提问者Q名                                       |
| \[enter]                             | 换行（并不需要的样子）                                 |
| \[time]                              | 现在时间                                        |
| \[随机数]                               | 1-100随机数                                    |
| \[随机表情]                              | 随机经典表情                                      |
| \[随机emoji]                           | 随机emoji                                     |
| \[or]                                | 1\[or]2会随机发1或者2                             |
| \[and]                               | 1\[and]2会连续发两条信息：1和2分开发                     |
|                                      |                                             |
| 特殊变量                                 |                                             |
| &#xD;$D\*\*\[$123$]\*\*\[$xx$]\*\*D$ | 如果这一行里有一个 \[$ $] 里面的为空，则删除 $D 和 D$ 之间的内容    |
| $IF\[子爵\|男爵]\*\*\*\*\*IF$            | 如果这一行里出现"子爵"或者"男爵"这字，则显示 $IF 和 IF$ 之间的内容    |
| $NOT\[假\|null]\*\*\*\*\*NOT$         | 如果这一行里出现"假"或者"null"这字，则删除 $NOT 和 NOT$ 之间的内容 |

{% hint style="info" %}

### 设置词条例子：

#### 问你好 答你好啊

#### 精确问2 答3333

#### 正则问你是(?<1>\S+)吗 答我是\[1]也是\[2]！

{% endhint %}

|                                      |                                             |
| ------------------------------------ | ------------------------------------------- |
| &#xD;$D\*\*\[$123$]\*\*\[$xx$]\*\*D$ | ：如果这一行里有一个 \[$ $] 里面的为空，则删除 $D 和 D$ 之间的内容   |
| $IF\[子爵\|男爵]\*\*\*\*\*IF$            | 如果这一行里出现"子爵"或者"男爵"这字，则显示 $IF 和 IF$ 之间的内容    |
| $NOT\[假\|null]\*\*\*\*\*NOT$         | 如果这一行里出现"假"或者"null"这字，则删除 $NOT 和 NOT$ 之间的内容 |

下载机器人问答词库大全：<https://eyun.baidu.com/s/3jKqg2Ku>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.tensuu.com/fen-qun-she-zhi/wen-da.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
