@onmars/lunar-core 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onmars/lunar-core",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/lib/router.ts CHANGED
@@ -246,7 +246,7 @@ export class Router {
246
246
 
247
247
  const response = await this.commandHandler.handle(message.text, ctx)
248
248
  if (response) {
249
- const outgoing: OutgoingMessage = { text: this.redact(response), replyTo: message.id }
249
+ const outgoing: OutgoingMessage = { text: this.redact(response) }
250
250
  await channel.send(message.channelId, outgoing)
251
251
  log.info({ command: message.text.split(/\s+/)[0] }, 'Command handled')
252
252
  return
@@ -485,7 +485,6 @@ export class Router {
485
485
 
486
486
  const outgoing: OutgoingMessage = {
487
487
  text: redactedText,
488
- replyTo: message.id,
489
488
  attachments: audioAttachment ? [audioAttachment] : undefined,
490
489
  }
491
490
  await channel.send(message.channelId, outgoing)