Compare commits
10 Commits
c1edf6c13b
...
2026.5.6
| Author | SHA1 | Date | |
|---|---|---|---|
| 7774447b2b | |||
| b2ff3e481a | |||
| 5ed2f3a41e | |||
| 7aff4cdf7d | |||
| 70227278c0 | |||
| 896bb9aaf7 | |||
| 386555ecf3 | |||
| 734b573a3b | |||
| d974115606 | |||
| 9c09675205 |
@@ -1,3 +1,11 @@
|
|||||||
|
# 2026.5.6
|
||||||
|
- Fix: 2026.5.5で修正されたと報告した「20件前のユーズを最後に応答したコマンドのユーズとして記録していた問題」を再発させていた問題
|
||||||
|
|
||||||
|
# 2026.5.5
|
||||||
|
- Chg: 毎日7:00の天気予報の日付表記
|
||||||
|
- Fix: 20件前のユーズを最後に応答したコマンドのユーズとして記録していた問題
|
||||||
|
- Fix: 毎日18:00の天気予報の仮投稿の表記が本日になっていた問題
|
||||||
|
|
||||||
# 2026.5.4
|
# 2026.5.4
|
||||||
- Chg: メモリをキャッシュしないように
|
- Chg: メモリをキャッシュしないように
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
timeNotice: "{{ time }}になりました。"
|
timeNotice: "{{ time }}になりました。"
|
||||||
weatherProvisional: |
|
weatherProvisional: |
|
||||||
本日の天気
|
{{ day }}の天気
|
||||||
※タイムラインが埋まるため返信に記載しています。
|
※タイムラインが埋まるため返信に記載しています。
|
||||||
weatherReply: |
|
weatherReply: |
|
||||||
【{{ city }}】
|
【{{ city }}】
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "notice-uwuzu",
|
"name": "notice-uwuzu",
|
||||||
"version": "2026.5.4",
|
"version": "2026.5.6",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -22,7 +22,10 @@ try {
|
|||||||
let newLastReadMention = mem.lastReadMention;
|
let newLastReadMention = mem.lastReadMention;
|
||||||
|
|
||||||
{
|
{
|
||||||
const response = await client.request("me/notification/", { page: 1, limit: 20 });
|
const response = await client.request("me/notification/", {
|
||||||
|
page: 1,
|
||||||
|
limit: 20,
|
||||||
|
});
|
||||||
|
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
const notifications = response.data.filter(n => n.category === "reply" && typeof n.valueid === "string");
|
const notifications = response.data.filter(n => n.category === "reply" && typeof n.valueid === "string");
|
||||||
@@ -82,7 +85,8 @@ try {
|
|||||||
|
|
||||||
const seenIds = new Set();
|
const seenIds = new Set();
|
||||||
ueuses = ueuses.filter(ueuse => {
|
ueuses = ueuses.filter(ueuse => {
|
||||||
if (seenIds.has(ueuse.uniqid)) return false;
|
if (seenIds.has(ueuse.uniqid))
|
||||||
|
return false;
|
||||||
seenIds.add(ueuse.uniqid);
|
seenIds.add(ueuse.uniqid);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -72,7 +72,11 @@ if (
|
|||||||
|
|
||||||
for (let attempt = 1; attempt <= config.ueuse.maxRetries; attempt++) {
|
for (let attempt = 1; attempt <= config.ueuse.maxRetries; attempt++) {
|
||||||
provisionalUeuse = await client.request("ueuse/create", {
|
provisionalUeuse = await client.request("ueuse/create", {
|
||||||
text: i18next.t("weatherProvisional"),
|
text: i18next.t("weatherProvisional", {
|
||||||
|
day: workerData.endsWith("Tomorrow")
|
||||||
|
? "明日"
|
||||||
|
: "今日",
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (provisionalUeuse.success) {
|
if (provisionalUeuse.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user