pi-roundtable 0.15.1 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.15.2] - 2026-10-15
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- The agent server's `#dashboard` is found again after a restart once it is pinned. Pinning it makes Discord post a "pinned a message" notice in the bot's name, and the dashboard search took that system message as the dashboard: every edit failed with `Cannot execute action on a system message` and the host logged `dashboard not updated` at every start. The search now passes over system messages.
|
|
13
|
+
|
|
8
14
|
## [0.15.1] - 2026-10-15
|
|
9
15
|
|
|
10
16
|
### Fixed
|
package/package.json
CHANGED
|
@@ -385,7 +385,11 @@ export class DiscordDashboard implements DashboardBoard {
|
|
|
385
385
|
const channel = await this.#channel();
|
|
386
386
|
const botId = this.#client.user?.id;
|
|
387
387
|
const recent = await channel.messages.fetch({ limit: 50 });
|
|
388
|
-
|
|
388
|
+
// Pinning the dashboard makes Discord post a "pinned a message" notice in the bot's name; a
|
|
389
|
+
// system message cannot be edited, so it is never the dashboard.
|
|
390
|
+
return recent.find(
|
|
391
|
+
(message) => message.author.id === botId && !message.system,
|
|
392
|
+
);
|
|
389
393
|
}
|
|
390
394
|
|
|
391
395
|
async #gone(message: Message): Promise<boolean> {
|