Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
MarbleGateKeeper committed Jul 6, 2022
1 parent d8ba2bc commit f6ab577
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
A Mirai Console Plugin
### 本插件提供的功能
* 防止撤回,自动将撤回内容重新发布到群中并@发布人(请注意,被管理员撤回的内容将会被本插件忽略)
* 将撤回内容保存到本地 (硬编码中默认关闭,需要开启此功能请修改代码并编译自己的版本)
### 为什么要有这个插件?
```
不知道是谁好像在群里发了双丁然后撤回了。
我从中午12点emo到下午一点半,
连发的图都没看到。
```
* 将撤回内容保存到本地

累了,赶紧的,毁灭吧。
### Download
自己编译,请。
[***USE AT YOUR OWN RISK.***](https://github.com/MarbleGateKeeper/EvilGemira/releases)
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "love.marblegate"
version = "1.0.0"
version = "1.0.1"

repositories {
maven("https://maven.aliyun.com/repository/public")
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion src/main/kotlin/love/marblegate/evilgemira/EvilService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import net.mamoe.mirai.message.data.Image.Key.queryUrl
import net.mamoe.mirai.utils.MiraiInternalApi
import java.io.ByteArrayInputStream
import java.io.File
import java.io.IOException
import java.io.OutputStreamWriter
import java.nio.charset.StandardCharsets
import java.nio.file.Files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object GemiraService {
CoroutineScope(Dispatchers.IO).launch{
event.group.sendMessage(builder.asMessageChain())
// Pandora's box
// EvilService.DataUnit(event,messageChain).saveTo(path)
EvilService.DataUnit(event,messageChain).saveTo(path)
}
}
}
Expand Down

0 comments on commit f6ab577

Please sign in to comment.