SimpleTarot简单的塔罗牌抽卡
-
@雾野良纱 ```
2022-09-23 09:22:42 E/Tarot: kotlin.NotImplementedError: An operation is not implemented: MULTILINE STRING
kotlin.NotImplementedError: An operation is not implemented: MULTILINE STRING
at net.mamoe.yamlkt.internal.YamlUtils__EscapeKt.readUnquotedString(Escape.kt:176)
at net.mamoe.yamlkt.internal.YamlUtils.readUnquotedString(Unknown Source)
at net.mamoe.yamlkt.internal.TokenStream.prepareStringAndNextToken(TokenStream.kt:308)
at net.mamoe.yamlkt.internal.TokenStream.nextToken(TokenStream.kt:282)
at net.mamoe.yamlkt.internal.YamlDecoder.beginStructureImpl$nextToken(YamlDecoder.kt:790)
at net.mamoe.yamlkt.internal.YamlDecoder.beginStructureImpl$yamlkt(YamlDecoder.kt:809)
at net.mamoe.yamlkt.internal.YamlDecoder.beginStructure(YamlDecoder.kt:781)
at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:60)
at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:47)
at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:44)
at net.mamoe.mirai.console.plugin.jvm.AbstractJvmPlugin.reloadPluginData(AbstractJvmPlugin.kt:51)
at SimpleTarot-1.0.4.jar//org.laolittle.plugin.SimpleTarot.onEnable(SimpleTarot.kt:38)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:178)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:189)
at org.itxtech.mcl.Loader.main(Loader.java:79)报错了,大佬看看啥原因
-
可以增加黑名单(不启用的群)功能吗,我在PermissionService中将org.laolittle.plugin.tarot:*后面限定了群的范围结果还是全部群启用
-
-
求助,在3月8日更新mcl及所有插件以后,在发送逆位图片时出现如下报错,表现为逆位图片无法发送
——————————————————————————————————————————————————
2023-03-09 09:03:12 W/Bot.3215064601: An exception occurred when processing event. Subscriber scope: '<unnamed>'. Broadcaster scope: 'Bot 3215064601.EventDispatcher'
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
at SimpleTarot-1.0.4.jar//org.laolittle.plugin.Tools.rotateImage(Tools.kt:19)
at SimpleTarot-1.0.4.jar//org.laolittle.plugin.GetTarot.getTarotImage(GetTarot.kt:33)
at SimpleTarot-1.0.4.jar//org.laolittle.plugin.SimpleTarot$onEnable$2$1.invokeSuspend(SimpleTarot.kt:97)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) -
This post is deleted! -
可不可以添加一个自定义触发词呀
-
没用啊,每次修改TarotData.yml文件后不能立即生效要重启bot。但是重启后TarotData.yml又恢复一开始啥也没有的状态
-
@czg2066 难道不应该先关闭bot再修改嘛
-
@firefairy 关闭后修改仍然没用。我使用的是linux,我最后把TarotData.yml文件权限修改成只能root修改才能正常运行。