koishijs / koishi-plugin-marry

MIT License
8 stars 1 forks source link

Bug: #14

Open opwop1 opened 10 months ago

opwop1 commented 10 months ago

Describe the bug

发生未知错误

Steps to reproduce

安装marry插件,安装message插件及cron插件,启用插件

Expected behavior

正常使用

Screenshots

{F54012FC-A1E0-41cb-8CE0-EDC04FEDEEE2}

Relevant log output

2023-11-04 12:07:48 [W] sqlite > SELECT `userId`, `activity` FROM (SELECT `userId`, count(distinct `userId`) AS `activity` FROM `chat.message` elpcypeh WHERE (`platform` = 'red') AND (`elpcypeh`.`guildId` = '399899914') GROUP BY `userId`) jpavcflu
2023-11-04 12:07:48 [W] command marry 
                        Error: no such column: elpcypeh.guildId
                            at f.handleError (/koishi/node_modules/@minatojs/sql.js/dist/sql-wasm.js:91:290)
                            at f.prepare (/koishi/node_modules/@minatojs/sql.js/dist/sql-wasm.js:90:46)
                            at #exec (/koishi/node_modules/@minatojs/driver-sqlite/lib/index.js:362:26)
                            at #all (/koishi/node_modules/@minatojs/driver-sqlite/lib/index.js:374:48)
                            at _SQLiteDriver.get (/koishi/node_modules/@minatojs/driver-sqlite/lib/index.js:297:54)
                            at _Selection.execute (/koishi/node_modules/@minatojs/core/lib/index.cjs:412:34)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async _Command.<anonymous> (/koishi/node_modules/koishi-plugin-marry/lib/index.js:45:27)
                            at async Array.<anonymous> (/koishi/node_modules/@koishijs/core/lib/index.cjs:1331:14)
                            at async _Command.execute (/koishi/node_modules/@koishijs/core/lib/index.cjs:1346:22)
2023-11-04 12:07:49 [W] app Error: property messages is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at SyncChannel.ensure (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:51:22)
                            at SyncChannel.queue (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:39:14)
                            at #onMessage (/koishi/node_modules/koishi-plugin-messages/lib/index.js:124:30)
                            at Proxy.emit (/koishi/node_modules/cordis/lib/index.cjs:106:16)
                            at RedBot.dispatch (/koishi/node_modules/@satorijs/core/lib/index.cjs:323:20)
                            at WebSocket.<anonymous> (/koishi/node_modules/koishi-plugin-adapter-red/lib/ws.js:26:26)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-04 12:07:49 [W] app Error: property messages is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at /koishi/node_modules/koishi-plugin-messages/lib/channel.js:82:63
                            at Array.filter (<anonymous>)
                            at SyncChannel.adapt (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:81:63)
                            at SyncChannel.flush (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:128:37)
                            at /koishi/node_modules/koishi-plugin-messages/lib/channel.js:44:74
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-04 12:07:49 [W] app Error: property dialogue is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at Object.<anonymous> (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:630:62)
                            at Proxy.bail (/koishi/node_modules/cordis/lib/index.cjs:120:31)
                            at triggerDialogue (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:530:11)
                            at /koishi/node_modules/koishi-plugin-dialogue/lib/index.js:596:18
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-gh-tile/lib/index.js:100:20
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-group-manage/lib/index.js:55:16
2023-11-04 12:07:49 [W] app Error: property dialogue is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at triggerDialogue (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:534:49)
                            at /koishi/node_modules/koishi-plugin-dialogue/lib/index.js:596:18
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-gh-tile/lib/index.js:100:20
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-group-manage/lib/index.js:55:16
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-whateat-pic/lib/index.js:64:16
2023-11-04 12:07:50 [W] app Error: property messages is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at SyncChannel.ensure (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:51:22)
                            at SyncChannel.queue (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:39:14)
                            at #onMessage (/koishi/node_modules/koishi-plugin-messages/lib/index.js:124:30)
                            at Proxy.emit (/koishi/node_modules/cordis/lib/index.cjs:106:16)
                            at RedBot.dispatch (/koishi/node_modules/@satorijs/core/lib/index.cjs:323:20)
                            at WebSocket.<anonymous> (/koishi/node_modules/koishi-plugin-adapter-red/lib/ws.js:26:26)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-04 12:07:50 [W] app Error: property messages is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at /koishi/node_modules/koishi-plugin-messages/lib/channel.js:82:63
                            at Array.filter (<anonymous>)
                            at SyncChannel.adapt (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:81:63)
                            at SyncChannel.flush (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:128:37)
                            at /koishi/node_modules/koishi-plugin-messages/lib/channel.js:44:74
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-04 12:07:50 [W] app Error: property dialogue is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at Object.<anonymous> (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:630:62)
                            at Proxy.bail (/koishi/node_modules/cordis/lib/index.cjs:120:31)
                            at triggerDialogue (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:530:11)
                            at /koishi/node_modules/koishi-plugin-dialogue/lib/index.js:596:18
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-gh-tile/lib/index.js:100:20
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-group-manage/lib/index.js:55:16
2023-11-04 12:07:50 [W] app Error: property dialogue is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at triggerDialogue (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:534:49)
                            at /koishi/node_modules/koishi-plugin-dialogue/lib/index.js:596:18
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-gh-tile/lib/index.js:100:20
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-group-manage/lib/index.js:55:16
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-whateat-pic/lib/index.js:64:16
2023-11-04 12:07:52 [W] app Error: property messages is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at SyncChannel.ensure (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:51:22)
                            at SyncChannel.queue (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:39:14)
                            at #onMessage (/koishi/node_modules/koishi-plugin-messages/lib/index.js:124:30)
                            at Proxy.emit (/koishi/node_modules/cordis/lib/index.cjs:106:16)
                            at RedBot.dispatch (/koishi/node_modules/@satorijs/core/lib/index.cjs:323:20)
                            at WebSocket.<anonymous> (/koishi/node_modules/koishi-plugin-adapter-red/lib/ws.js:26:26)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-04 12:07:52 [W] app Error: property messages is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at /koishi/node_modules/koishi-plugin-messages/lib/channel.js:82:63
                            at Array.filter (<anonymous>)
                            at SyncChannel.adapt (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:81:63)
                            at SyncChannel.flush (/koishi/node_modules/koishi-plugin-messages/lib/channel.js:128:37)
                            at /koishi/node_modules/koishi-plugin-messages/lib/channel.js:44:74
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-04 12:07:52 [W] app Error: property dialogue is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at Object.<anonymous> (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:630:62)
                            at Proxy.bail (/koishi/node_modules/cordis/lib/index.cjs:120:31)
                            at triggerDialogue (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:530:11)
                            at /koishi/node_modules/koishi-plugin-dialogue/lib/index.js:596:18
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-gh-tile/lib/index.js:100:20
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-group-manage/lib/index.js:55:16
2023-11-04 12:07:52 [W] app Error: property dialogue is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/koishi/node_modules/cordis/lib/index.cjs:776:36)
                            at Object.get (/koishi/node_modules/cordis/lib/index.cjs:793:9)
                            at triggerDialogue (/koishi/node_modules/koishi-plugin-dialogue/lib/index.js:534:49)
                            at /koishi/node_modules/koishi-plugin-dialogue/lib/index.js:596:18
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-gh-tile/lib/index.js:100:20
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-group-manage/lib/index.js:55:16
                            at next (/koishi/node_modules/@koishijs/core/lib/index.cjs:1053:69)
                            at /koishi/node_modules/koishi-plugin-whateat-pic/lib/index.js:64:16

Launcher

Containers (Docker, Kubernates, etc)

Versions

OS: Linux 5.4 Alpine Linux Adapter:red Node: 18.17.1 Koishi:Core: 4.15.3 Console: 5.18.0

Additional context

No response