@openclaw/discord 2026.2.12 → 2026.2.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/channel.ts +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/discord",
3
- "version": "2026.2.12",
3
+ "version": "2026.2.14",
4
4
  "description": "OpenClaw Discord channel plugin",
5
5
  "type": "module",
6
6
  "devDependencies": {
package/src/channel.ts CHANGED
@@ -285,28 +285,31 @@ export const discordPlugin: ChannelPlugin<ResolvedDiscordAccount> = {
285
285
  chunker: null,
286
286
  textChunkLimit: 2000,
287
287
  pollMaxOptions: 10,
288
- sendText: async ({ to, text, accountId, deps, replyToId }) => {
288
+ sendText: async ({ to, text, accountId, deps, replyToId, silent }) => {
289
289
  const send = deps?.sendDiscord ?? getDiscordRuntime().channel.discord.sendMessageDiscord;
290
290
  const result = await send(to, text, {
291
291
  verbose: false,
292
292
  replyTo: replyToId ?? undefined,
293
293
  accountId: accountId ?? undefined,
294
+ silent: silent ?? undefined,
294
295
  });
295
296
  return { channel: "discord", ...result };
296
297
  },
297
- sendMedia: async ({ to, text, mediaUrl, accountId, deps, replyToId }) => {
298
+ sendMedia: async ({ to, text, mediaUrl, accountId, deps, replyToId, silent }) => {
298
299
  const send = deps?.sendDiscord ?? getDiscordRuntime().channel.discord.sendMessageDiscord;
299
300
  const result = await send(to, text, {
300
301
  verbose: false,
301
302
  mediaUrl,
302
303
  replyTo: replyToId ?? undefined,
303
304
  accountId: accountId ?? undefined,
305
+ silent: silent ?? undefined,
304
306
  });
305
307
  return { channel: "discord", ...result };
306
308
  },
307
- sendPoll: async ({ to, poll, accountId }) =>
309
+ sendPoll: async ({ to, poll, accountId, silent }) =>
308
310
  await getDiscordRuntime().channel.discord.sendPollDiscord(to, poll, {
309
311
  accountId: accountId ?? undefined,
312
+ silent: silent ?? undefined,
310
313
  }),
311
314
  },
312
315
  status: {