@nextclaw/channel-runtime 0.1.5 → 0.1.6
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.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -363,9 +363,8 @@ var DiscordChannel = class extends BaseChannel {
|
|
|
363
363
|
...attachmentIssues.length ? { attachment_issues: attachmentIssues } : {}
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
|
-
}
|
|
366
|
+
} finally {
|
|
367
367
|
this.stopTyping(channelId);
|
|
368
|
-
throw err;
|
|
369
368
|
}
|
|
370
369
|
}
|
|
371
370
|
resolveProxyAgent() {
|
|
@@ -2549,9 +2548,8 @@ Just send me a text message to chat!`;
|
|
|
2549
2548
|
is_bot: sender.isBot,
|
|
2550
2549
|
is_group: message.chat.type !== "private"
|
|
2551
2550
|
});
|
|
2552
|
-
}
|
|
2551
|
+
} finally {
|
|
2553
2552
|
this.stopTyping(chatId);
|
|
2554
|
-
throw err;
|
|
2555
2553
|
}
|
|
2556
2554
|
}
|
|
2557
2555
|
async dispatchToBus(senderId, chatId, content, attachments, metadata) {
|