Address review on the exp_reports watch list

Save both datastores on the save hook so autosave covers them, the
controller also runs it at shutdown. Watch list names are case
insensitive, matching Factorio and Clusterio users. The new
exp_reports.announce_to_all_instances config, on by default, can limit
the join message to the instance the player joined. The Discord embed
lists the three newest unread reports and counts the rest in the footer,
since Discord rejects embeds with more than 25 fields. Both tables now
sort newest first by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-10-20 19:01:44 +00:00
1 parent 44ae3a5f0e
commit 38fe2ed62a
7 files changed
+92 -22

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ t.test("class WatchListRecord", t2 => {
[0, 12345], // updatedAtMs
[false, true], // isDeleted
));
t2.equal(sampleEntry.id, "bob", "the player name is the id");
t2.equal(new messages.WatchListRecord("Bob", "griefing", "alice").id, "bob", "the lower case player name is the id");
t2.end();
});