@theholocron/holocron-plugin-discord 5.0.0-alpha.201 → 5.0.0-alpha.202
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/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1158,7 +1158,7 @@ var DiscordNotifications = class DiscordNotifications {
|
|
|
1158
1158
|
return result;
|
|
1159
1159
|
}
|
|
1160
1160
|
try {
|
|
1161
|
-
result.readBack = (await bot.channels.messages(hook.channelId, 100)).some((m) => m.id === messageId
|
|
1161
|
+
result.readBack = (await bot.channels.messages(hook.channelId, 100)).some((m) => m.id === messageId);
|
|
1162
1162
|
if (!result.readBack) result.problems.push("the post was accepted but is not in the channel");
|
|
1163
1163
|
} catch (err) {
|
|
1164
1164
|
result.problems.push(`could not read the channel back (${reason(err)})`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-discord",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.202",
|
|
4
4
|
"description": "Holocron plugin for Discord. Implements the notifications capability via Discord incoming webhooks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"discord",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"tsx": "4.23.15",
|
|
49
49
|
"typescript": "^5.9.3",
|
|
50
50
|
"vitest": "^4.1.11",
|
|
51
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
51
|
+
"@theholocron/cli": "5.0.0-alpha.202"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@theholocron/discord-client": "^1.48.0",
|
|
55
55
|
"@theholocron/misc-utils": "^1.16.0",
|
|
56
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
56
|
+
"@theholocron/cli": "5.0.0-alpha.202"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=22"
|