noticeUwuzu v6.0@uwuzu1.5.4

This commit is contained in:
2025-07-26 21:28:07 +09:00
parent 3955d91978
commit 724e18ba3b
20 changed files with 268 additions and 120 deletions
+4 -4
View File
@@ -9,11 +9,11 @@ export default async function weatherNotice() {
// 仮投稿
const resUeuse = await fetch(
`https://${config.uwuzuServer}/api/ueuse/create`,
`https://${config.uwuzu.host}/api/ueuse/create`,
{
method: "POST",
body: JSON.stringify({
token: config.apiToken,
token: config.uwuzu.apiToken,
text: `
本日の天気
※タイムラインが埋まるため返信に記載しています
@@ -103,11 +103,11 @@ export default async function weatherNotice() {
// 分割投稿
for (let i = 0; i < splitCount; i++) {
const resReply = await fetch(
`https://${config.uwuzuServer}/api/ueuse/create`,
`https://${config.uwuzu.host}/api/ueuse/create`,
{
method: "POST",
body: JSON.stringify({
token: config.apiToken,
token: config.uwuzu.apiToken,
text: weatherResults[i],
replyid: ueuseData.uniqid
}),