一定要自己在服务器本地装一个mysql吗
HOLIC 发布的最新帖子
-
RE: XXYan 一个用于记录群成员说过的骚话的插件
@gsycl2004 这样是不是会导致之前的记录下来的都没了 并且我发现data下没有yan.db这个文件 mirai根目录倒是有能看到data\yan.db 但是我没发对他进行删除
-
RE: XXYan 一个用于记录群成员说过的骚话的插件
2022-07-12 13:27:28 E/XXYan: Exception in coroutine Plugin com.github.XXYan of XXYan
org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (table 457646235 has no column named title)
at org.sqlite.core.DB.newSQLException(DB.java:1030)
at org.sqlite.core.DB.newSQLException(DB.java:1042)
at org.sqlite.core.DB.throwex(DB.java:1007)
at org.sqlite.core.NativeDB.prepare_utf8(Native Method)
at org.sqlite.core.NativeDB.prepare(NativeDB.java:137)
at org.sqlite.core.DB.prepare(DB.java:257)
at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:45)
at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30)
at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:25)
at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35)
at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241)
at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205)
at me.liuwj.ktorm.database.Database.executeUpdate(Database.kt:745)
at me.liuwj.ktorm.entity.EntityDmlKt.add(EntityDml.kt:66)
at XXYan-0.0.5.mirai2.jar//com.github.XXYan$onEnable$1.invokeSuspend(XXYan.kt:68)
at XXYan-0.0.5.mirai2.jar//com.github.XXYan$onEnable$1.invoke(XXYan.kt)
at XXYan-0.0.5.mirai2.jar//com.github.XXYan$onEnable$1.invoke(XXYan.kt)
at net.mamoe.mirai.event.EventChannel$subscribe$1.invokeSuspend(EventChannel.kt:416)
at net.mamoe.mirai.event.EventChannel$subscribe$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.EventChannel$subscribe$1.invoke(EventChannel.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:160)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)这个异常是为啥
-
求教如何操作data目录下的文件呀
我看有些插件启动后会data或者config下会自动生成文件 但我看了下基本都是kotlin写的 不太看得懂 我用的java 现在连咋自动创建这个文件和如何每回通过命令操作这些文件也没搞懂 文档里也没找着 求解
-
RE: 求问java下如何获取信息中被@的人的qq号
@hatmony 感谢 这个比较明显自己就能解决 但是又有新的问题想请教一下 group.getmembers下member没有群昵称属性 该去哪里获取呢 只能拿到头衔 自己的qq名 名片啥的 都不是群昵称