windsor-bot 0.1.10 → 0.1.12

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/dist/bot.js +2 -0
  2. package/package.json +1 -1
package/dist/bot.js CHANGED
@@ -361,6 +361,7 @@ export function createWindsorBot() {
361
361
  ];
362
362
  }
363
363
  if (config.includeIcon) {
364
+ await reactSafe(message, Reaction.thinking);
364
365
  const iconCacheDir = getCurrentConfig().iconCacheDir ?? './icon-cache';
365
366
  const iconPath = await generateIcon(strippedText, iconCacheDir);
366
367
  if (iconPath)
@@ -383,6 +384,7 @@ export function createWindsorBot() {
383
384
  await replySafe(message, `⏸️ Print failed: ${err instanceof Error ? err.message : String(err)}`);
384
385
  logEvent('error', `Print failed: ${err}`);
385
386
  }
387
+ await removeReactionSafe(message, Reaction.thinking);
386
388
  }
387
389
  async function handleAccumulatingPrint(triggerMessage, config, allMessages) {
388
390
  const botId = client.user?.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windsor-bot",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Self-hosted Discord bot automation for household list and todo printing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",