From 254ccbf4cdc19f4f8aa8c5766ca5db9ca5666c91 Mon Sep 17 00:00:00 2001 From: Flummi Date: Tue, 5 Dec 2017 17:57:25 +0100 Subject: [PATCH] use reply --- src/clients/tg.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clients/tg.mjs b/src/clients/tg.mjs index 7e652bb..69d3143 100644 --- a/src/clients/tg.mjs +++ b/src/clients/tg.mjs @@ -115,9 +115,9 @@ export class tg extends EventEmitter { message: tmp.text, time: tmp.date, raw: tmp, - reply: msg => this.send(tmp.chat.id, this.format(msg)), - replyAction: msg => this.send(tmp.chat.id, this.format(`Uwe ${msg}`)), - replyNotice: msg => this.send(tmp.chat.id, this.format(msg)), + reply: msg => this.send(tmp.chat.id, this.format(msg), tmp.message_id), + replyAction: msg => this.send(tmp.chat.id, this.format(`Uwe ${msg}`), tmp.message_id), + replyNotice: msg => this.send(tmp.chat.id, this.format(msg), tmp.message_id), _user: this.server.user }; }