https://github.com/pmaru-top/antirecall
Mirai-Console插件,反撤回,闪照破解
https://github.com/pmaru-top/antirecall
mirai mirai-console mirai-plugin
Last synced: 7 months ago
JSON representation
Mirai-Console插件,反撤回,闪照破解
- Host: GitHub
- URL: https://github.com/pmaru-top/antirecall
- Owner: Pmaru-top
- Created: 2022-05-21T07:27:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T16:54:04.000Z (over 2 years ago)
- Last Synced: 2023-04-30T09:27:19.356Z (over 2 years ago)
- Topics: mirai, mirai-console, mirai-plugin
- Language: Kotlin
- Homepage:
- Size: 61.5 KB
- Stars: 20
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AntiRecall 反撤回插件
这是一个基于[`mirai`](https://github.com/mamoe/mirai) 机器人框架的插件
不想折腾模块? 在mirai上安装本插件进行简单配置即可实现

## 下载
[](https://github.com/MX233/AntiRecall/releases)# 一定要先看完README
## 本插件功能
- 获取被撤回的消息
- 闪照破解## 前置插件
- [chat-command](https://github.com/project-mirai/chat-command)## 指令
**前缀一般是 `/`**| 指令 | 作用 | 示例 |
|:-------------------------|:-------------|:-------------------------------------------|
| `ar` `en` `` | `设置开启或关闭` | ar en true |
| `ar` `ca` `## 首次使用
请使用[Mirai Console Backend - Permissions](https://docs.mirai.mamoe.net/console/Permissions.html)
设置权限### 添加一个被监听者
> 当被监听者发送消息后会被缓存或转发
```
perm add m<群号>.* top.cutestar.antirecall:monitored
//一个示例:perm add m123456789.* top.cutestar.antirecall:monitored
```
监听所有群
```
perm add m* top.cutestar.antirecall:monitored
```### 添加一个消息接收者
> 当出现选中类型的消息时,此消息会被转发给消息接收者
```
perm add <被许可人ID> top.cutestar.antirecall:receiver
//一个转发到好友的示例:perm add f123456789 top.cutestar.antirecall:receiver
//一个转发到群的示例:perm add g123456789 top.cutestar.antirecall:receiver
```### 添加命令使用权限
```
perm add u top.cutestar.antirecall:command.ar
```设置权限后请使用`ar reload`重载
### 配置
> 请见配置文件注释