v7.0(unconfirmed)をリリース

This commit is contained in:
2025-08-01 18:57:15 +09:00
parent 50db83cc8c
commit dc67845bc8
17 changed files with 317 additions and 115 deletions
+6 -3
View File
@@ -4,7 +4,7 @@ import type * as types from "types/types.js";
import config from "../config.js";
export default async function weatherNotice() {
export async function weatherNotice() {
console.log("----------------");
// 仮投稿
@@ -26,7 +26,10 @@ export default async function weatherNotice() {
console.log(`天気仮投稿:${JSON.stringify(ueuseData)}`);
weatherReply(ueuseData.uniqid);
}
export async function weatherReply(uniqid: string) {
// インデックス
const splitCount = config.weather.splitCount;
const total = cityList.length;
@@ -109,13 +112,13 @@ export default async function weatherNotice() {
body: JSON.stringify({
token: config.uwuzu.apiToken,
text: weatherResults[i],
replyid: ueuseData.uniqid
replyid: uniqid,
}),
},
);
const replyData: types.ueuseCreateApi = await resReply.json();
console.log(`天気投稿${JSON.stringify(replyData)}`);
console.log(`天気返信${JSON.stringify(replyData)}`);
}
}