Skip to content

Commit

Permalink
feat: 增加拒绝响应群组裸 .bot 选项 (#51)
Browse files Browse the repository at this point in the history
* 增加开关

* 改善UI
  • Loading branch information
oissevalt authored Sep 27, 2023
1 parent a196cb0 commit 71d23ac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/misc/PageMiscSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,18 @@
<el-checkbox label="开启" v-model="config.textCmdTrustOnly"/>
</el-form-item>

<el-form-item>
<template #label>
<div>
<span>忽略.bot裸指令</span>
<el-tooltip raw-content content="默认关闭。开启后在群聊中只有@骰子才会响应.bot">
<el-icon><question-filled /></el-icon>
</el-tooltip>
</div>
</template>
<el-checkbox label="开启" v-model="config.ignoreUnaddressedBotCmd"/>
</el-form-item>

<el-form-item>
<template #label>
<div>
Expand Down

0 comments on commit 71d23ac

Please sign in to comment.