koishi-plugin-toram 0.2.2-alpha.2 → 0.2.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -53,7 +53,7 @@ async function apply(ctx, config) {
|
|
|
53
53
|
{
|
|
54
54
|
let 截止时间 = args[0], 求组内容 = args[1];
|
|
55
55
|
let 截止时间_年 = 0;
|
|
56
|
-
if (截止时间 ==
|
|
56
|
+
if (截止时间 == undefined || 求组内容 == undefined || /^\d+月\d+日$/.test(截止时间)) {
|
|
57
57
|
return '如果你要发布求组信息,请输入"求组 截止时间 求组内容"来进行发布哦?例如"求组 5月1日 210升级"表示截止至5月1日前希望求组210升级';
|
|
58
58
|
}
|
|
59
59
|
else {
|