use reply
This commit is contained in:
parent
16d07a5088
commit
254ccbf4cd
|
@ -115,9 +115,9 @@ export class tg extends EventEmitter {
|
||||||
message: tmp.text,
|
message: tmp.text,
|
||||||
time: tmp.date,
|
time: tmp.date,
|
||||||
raw: tmp,
|
raw: tmp,
|
||||||
reply: 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}`)),
|
replyAction: msg => this.send(tmp.chat.id, this.format(`Uwe ${msg}`), tmp.message_id),
|
||||||
replyNotice: msg => this.send(tmp.chat.id, this.format(msg)),
|
replyNotice: msg => this.send(tmp.chat.id, this.format(msg), tmp.message_id),
|
||||||
_user: this.server.user
|
_user: this.server.user
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user