koishi-plugin-ets2-tools-tmp 1.1.5 → 1.2.0
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 +0 -17
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -204,29 +204,12 @@ class ActivityService {
|
|
|
204
204
|
return `检查完成!\n车队平台今日活动: ${this.todayActivities.length} 个\nTMP今日参与活动: ${this.todayTMPEvents.length} 个`;
|
|
205
205
|
});
|
|
206
206
|
|
|
207
|
-
this.ctx.command("活动DEBUG", "查看插件调试信息")
|
|
208
|
-
.action(() => this.getDebugInfo());
|
|
209
|
-
|
|
210
207
|
this.ctx.command("重置数据", "手动重置今日活动数据")
|
|
211
208
|
.action(() => {
|
|
212
209
|
this.logger.debug("手动执行数据重置命令");
|
|
213
210
|
this.resetDailyData();
|
|
214
211
|
return "✅ 今日活动数据已重置完成!";
|
|
215
212
|
});
|
|
216
|
-
|
|
217
|
-
this.ctx.command("测试无活动通知", "手动测试发送无活动通知")
|
|
218
|
-
.action(async () => {
|
|
219
|
-
this.logger.debug("手动执行无活动通知测试命令");
|
|
220
|
-
await this.checkAndSendNoActivityNotification(true);
|
|
221
|
-
return "✅ 无活动通知测试完成!";
|
|
222
|
-
});
|
|
223
|
-
|
|
224
|
-
this.ctx.command("检查活动状态变化", "手动检查活动状态变化")
|
|
225
|
-
.action(async () => {
|
|
226
|
-
this.logger.debug("手动执行活动状态变化检查命令");
|
|
227
|
-
await this.checkActivityStatusChange();
|
|
228
|
-
return "✅ 活动状态变化检查完成!";
|
|
229
|
-
});
|
|
230
213
|
}
|
|
231
214
|
|
|
232
215
|
getDebugInfo() {
|