デバッグ表示を分かりやすく2(v4.3)

This commit is contained in:
2025-07-05 14:06:37 +09:00
parent c3ab3a8456
commit 568ae7abf6
9 changed files with 46 additions and 13 deletions
+7 -2
View File
@@ -23,7 +23,12 @@ if (start < stop) {
export default async function timeNotice() {
if (inRange === false) {
console.log("----------------");
if (inRange) {
console.log("時報休止期間のため投稿されませんでした");
return;
} else {
// 投稿
const resUeuse = await fetch(
`https://${config.uwuzuServer}/api/ueuse/create`,
@@ -38,6 +43,6 @@ export default async function timeNotice() {
const ueuseData: types.ueuseCreateApi = await resUeuse.json();
console.log(JSON.stringify(ueuseData));
console.log(`時報投稿:${JSON.stringify(ueuseData)}`);
}
}