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

Commit

Permalink
i give up.
Browse files Browse the repository at this point in the history
  • Loading branch information
guimc233 committed Oct 3, 2024
1 parent 2430321 commit 4ce7e9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {
implementation("org.xerial:sqlite-jdbc:3.46.0.0")
implementation("org.apache.commons:commons-lang3:3.16.0")
implementation("org.apache.commons:commons-imaging:1.0-alpha1")
implementation("ai.djl.onnxruntime:onnxruntime-engine:0.23.0")
implementation("ai.djl.onnxruntime:onnxruntime-engine:0.27.0")

compileOnly("top.mrxiaom.mirai:overflow-core-api:$overflow_version")
compileOnly("top.mrxiaom.mirai:overflow-core:$overflow_version")
Expand Down
5 changes: 2 additions & 3 deletions src/main/kotlin/ltd/guimc/lgzbot/PluginMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import kotlinx.coroutines.runInterruptible
import ltd.guimc.dlm.DLModel
import ltd.guimc.lgzbot.command.*
import ltd.guimc.lgzbot.files.Config
import ltd.guimc.lgzbot.files.GithubSubConfig
Expand Down Expand Up @@ -156,7 +155,7 @@ object PluginMain : KotlinPlugin(
webHookService.start()
logger.info("正在初始化 LL4J")
LL4JUtils.init()
DLModel.init()
// DLModel.init()
thread { LL4JUtils.downloadModel() }
logger.info("$name v$version 加载好了喵")
}
Expand Down Expand Up @@ -247,6 +246,6 @@ object PluginMain : KotlinPlugin(
registerListenerHost(BakaListener)
registerListenerHost(AutoQuit)
registerListenerHost(SelfMessageListener)
registerListenerHost(NaiLongImageListener)
// registerListenerHost(NaiLongImageListener)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ object ToggleCheckCommand : CompositeCommand(
}
}

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

0 comments on commit 4ce7e9c

Please sign in to comment.