diff --git a/README.md b/README.md index dfa0f7a..6340998 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,7 @@ A Mirai Console Plugin ### 本插件提供的功能 * 防止撤回,自动将撤回内容重新发布到群中并@发布人(请注意,被管理员撤回的内容将会被本插件忽略) -* 将撤回内容保存到本地 (硬编码中默认关闭,需要开启此功能请修改代码并编译自己的版本) -### 为什么要有这个插件? -``` -不知道是谁好像在群里发了双丁然后撤回了。 -我从中午12点emo到下午一点半, -连发的图都没看到。 -``` +* 将撤回内容保存到本地 -累了,赶紧的,毁灭吧。 ### Download -自己编译,请。 +[***USE AT YOUR OWN RISK.***](https://github.com/MarbleGateKeeper/EvilGemira/releases) diff --git a/build.gradle.kts b/build.gradle.kts index f7f729f..9830328 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "love.marblegate" -version = "1.0.0" +version = "1.0.1" repositories { maven("https://maven.aliyun.com/repository/public") diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/src/main/kotlin/love/marblegate/evilgemira/EvilService.kt b/src/main/kotlin/love/marblegate/evilgemira/EvilService.kt index 5cd025b..a41569e 100644 --- a/src/main/kotlin/love/marblegate/evilgemira/EvilService.kt +++ b/src/main/kotlin/love/marblegate/evilgemira/EvilService.kt @@ -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 diff --git a/src/main/kotlin/love/marblegate/evilgemira/GemiraService.kt b/src/main/kotlin/love/marblegate/evilgemira/GemiraService.kt index a19ec91..47500de 100644 --- a/src/main/kotlin/love/marblegate/evilgemira/GemiraService.kt +++ b/src/main/kotlin/love/marblegate/evilgemira/GemiraService.kt @@ -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) } } }