Birthday:给群友庆祝生日!

Birthday:给群友庆祝生日!

npm
这个插件用于给群友庆祝生日
使用方法:
设置生日 日期 过生日的人的QQ号 被通知群的群号
删除生日 上面指令提供的ID
灵感来源:
给群友庆生的插件 - 求插件 - Koishi Forum

3 个赞

小喵哥哥,你好棒!

2 个赞

感谢大佬,不过如何设置呢,配置页面提示
此插件未声明配置项,这可能并非预期行为。请联系插件作者并反馈此问题。

1 个赞

日志报错

1 个赞

对不起,这是我的错误,本插件使用了koishi-plugin-cron插件提供的接口,但我并未添加其到依赖项

2 个赞

我会在0.0.3版本一并修复

2 个赞

您的问题已修复

2 个赞

cron插件要用什么版本?

2 个赞

2 个赞

什么版本都可以

2 个赞

插件版本是0.0.3,但是仍然报错,是我的问题吗?


2 个赞

请复制LOG发送,图片看不清

2 个赞

啊,不好意思

2024-02-19 19:33:36 [I] assets missing config "selfUrl", fallback to "file:" scheme
2024-02-19 19:33:36 [W] app Error: property cron is not registered, declare it as `inject` to suppress this warning
                            at checkInject (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:818:38)
                            at Object.get (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:822:9)
                            at Object.apply (/root/boilerplate/node_modules/koishi-plugin-birthday/lib/index.js:20:9)
                            at MainScope.apply (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:602:26)
                            at /root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:627:49
                            at MainScope.ensure (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:378:18)
                            at MainScope.start (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:627:12)
                            at MainScope.init (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:425:12)
                            at new MainScope (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:550:12)
                            at Proxy.plugin (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:743:15)
2024-02-19 19:33:36 [E] app TypeError: ctx.cron is not a function
                            at Object.apply (/root/boilerplate/node_modules/koishi-plugin-birthday/lib/index.js:20:9)
                            at MainScope.apply (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:602:26)
                            at /root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:627:49
                            at MainScope.ensure (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:378:18)
                            at MainScope.start (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:627:12)
                            at MainScope.init (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:425:12)
                            at new MainScope (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:550:12)
                            at Proxy.plugin (/root/boilerplate/node_modules/cordis/node_modules/@cordisjs/core/lib/index.cjs:743:15)
                            at Proxy.forkPlugin (/root/boilerplate/node_modules/@koishijs/loader/lib/shared.js:285:19)
                            at async Proxy.reload (/root/boilerplate/node_modules/@koishijs/loader/lib/shared.js:314:16)
2024-02-19 19:33:36 [I] server server listening at http://127.0.0.1:5140
2024-02-19 19:33:36 [I] console webui is available at http://127.0.0.1:5140
2 个赞

呃…问题出在哪?

2 个赞

请问是否已安装corn插件

2 个赞

已安装,但版本显示不兼容

2 个赞

不是,你的插件默认版本输入错了啊哥,自己都不知道

2 个赞

所以是我的问题吗?

2 个赞

喵呜的问题,骂他

2 个赞

我觉得吧,你别活动了,你活动就被骂

2 个赞