From 3955d91978144731a95f774630dac36668aba088 Mon Sep 17 00:00:00 2001 From: Last2014 Date: Tue, 8 Jul 2025 13:47:10 +0900 Subject: [PATCH] =?UTF-8?q?=E6=B7=B1=E3=81=95=E5=88=A4=E5=AE=9A=E3=81=AB.e?= =?UTF-8?q?arthquake.=E3=82=92=E3=82=B9=E3=82=AD=E3=83=83=E3=83=97?= =?UTF-8?q?=E3=81=97=E3=81=A6hypocenter=E3=82=92=E5=8F=82=E7=85=A7?= =?UTF-8?q?=E3=81=97=E3=81=A6=E3=81=84=E3=81=9F=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3(v5.1.1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- scripts/earthquakeNotice.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f6e427f..14e5347 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "noticeuwuzu", - "version": "v5.1@uwuzu1.5.4", + "version": "v5.1.1@uwuzu1.5.4", "description": "uwuzu Notice Bot", "main": "dist/main.js", "scripts": { diff --git a/scripts/earthquakeNotice.ts b/scripts/earthquakeNotice.ts index c248fe7..bcb9084 100644 --- a/scripts/earthquakeNotice.ts +++ b/scripts/earthquakeNotice.ts @@ -351,7 +351,7 @@ async function event(earthquakeInfo: any): Promise { if (earthquakeInfo.earthquake.hypocenter.depth === 0) { depth = "深さ:ごく浅い"; } else { - depth = `深さ:${earthquakeInfo.hypocenter.depth}km`; + depth = `深さ:${String(earthquakeInfo.earthquake.hypocenter.depth)}km`; } } @@ -363,7 +363,7 @@ async function event(earthquakeInfo: any): Promise { earthquakeInfo.earthquake.hypocenter.magnitude !== undefined || earthquakeInfo.earthquake.hypocenter.magnitude !== -1 ) { - magnitude = `マグニチュード:${earthquakeInfo.earthquake.hypocenter.magnitude}`; + magnitude = `マグニチュード:${String(earthquakeInfo.earthquake.hypocenter.magnitude)}`; } ueuse(`