Compare commits

...

1 Commits

Author SHA1 Message Date
last2014 563d70aacd 地域情報更新のレート時刻初期化を修正(v4.3.1) 2025-07-05 16:18:02 +09:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "noticeuwuzu", "name": "noticeuwuzu",
"version": "v4.3@uwuzu1.5.4", "version": "v4.3.1@uwuzu1.5.4",
"description": "uwuzu Notice Bot", "description": "uwuzu Notice Bot",
"main": "dist/main.js", "main": "dist/main.js",
"scripts": { "scripts": {
+1 -1
View File
@@ -335,7 +335,7 @@ async function event(earthquakeInfo: any): Promise<void> {
// 地域情報更新の場合 // 地域情報更新の場合
else if (earthquakeInfo.code === 555) { else if (earthquakeInfo.code === 555) {
if (rateLimit === null) { if (rateLimit === null) {
rateLimit = subMinutes(new Date(), 15); rateLimit = subMinutes(new Date(), config.earthquake.rateLimit + 5);
} }
// 対象地域マッピング // 対象地域マッピング