Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit 4ce7e9c

Browse files
committed
i give up.
1 parent 2430321 commit 4ce7e9c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies {
2626
implementation("org.xerial:sqlite-jdbc:3.46.0.0")
2727
implementation("org.apache.commons:commons-lang3:3.16.0")
2828
implementation("org.apache.commons:commons-imaging:1.0-alpha1")
29-
implementation("ai.djl.onnxruntime:onnxruntime-engine:0.23.0")
29+
implementation("ai.djl.onnxruntime:onnxruntime-engine:0.27.0")
3030

3131
compileOnly("top.mrxiaom.mirai:overflow-core-api:$overflow_version")
3232
compileOnly("top.mrxiaom.mirai:overflow-core:$overflow_version")

src/main/kotlin/ltd/guimc/lgzbot/PluginMain.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import kotlinx.coroutines.Dispatchers
1414
import kotlinx.coroutines.Job
1515
import kotlinx.coroutines.launch
1616
import kotlinx.coroutines.runInterruptible
17-
import ltd.guimc.dlm.DLModel
1817
import ltd.guimc.lgzbot.command.*
1918
import ltd.guimc.lgzbot.files.Config
2019
import ltd.guimc.lgzbot.files.GithubSubConfig
@@ -156,7 +155,7 @@ object PluginMain : KotlinPlugin(
156155
webHookService.start()
157156
logger.info("正在初始化 LL4J")
158157
LL4JUtils.init()
159-
DLModel.init()
158+
// DLModel.init()
160159
thread { LL4JUtils.downloadModel() }
161160
logger.info("$name v$version 加载好了喵")
162161
}
@@ -247,6 +246,6 @@ object PluginMain : KotlinPlugin(
247246
registerListenerHost(BakaListener)
248247
registerListenerHost(AutoQuit)
249248
registerListenerHost(SelfMessageListener)
250-
registerListenerHost(NaiLongImageListener)
249+
// registerListenerHost(NaiLongImageListener)
251250
}
252251
}

src/main/kotlin/ltd/guimc/lgzbot/command/ToggleCheckCommand.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ object ToggleCheckCommand : CompositeCommand(
8686
}
8787
}
8888

89-
@SubCommand("nailong")
89+
/*@SubCommand("nailong")
9090
@Description("开/关奶龙图片检测")
9191
suspend fun CommandSender.iiI11i1I1i1Iai1I1i11I1i1I1() {
9292
if (getGroupOrNull() == null) {
@@ -107,5 +107,5 @@ object ToggleCheckCommand : CompositeCommand(
107107
} else {
108108
sendMessage("只有管理才能使用这个指令的说...")
109109
}
110-
}
110+
}*/
111111
}

0 commit comments

Comments
 (0)