use reply

This commit is contained in:
Flummi 2017-12-05 17:57:25 +01:00
parent 16d07a5088
commit 254ccbf4cd

View File

@ -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
};
}