This commit is contained in:
Flummi 2022-05-07 10:35:27 +02:00
parent e1a85ed659
commit d510b14880
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "cuffeo", "name": "cuffeo",
"version": "1.0.8", "version": "1.0.8-1",
"description": "A multi-protocol chatbot library with nearly zero dependencies.", "description": "A multi-protocol chatbot library with nearly zero dependencies.",
"main": "src/index.mjs", "main": "src/index.mjs",
"scripts": {}, "scripts": {},

View File

@ -137,7 +137,7 @@ export default class tg extends EventEmitter {
message: tmp.text, message: tmp.text,
time: tmp.date, time: tmp.date,
raw: tmp, raw: tmp,
photo: tmp.photo || null, media: tmp.media || null,
reply: msg => this.send(tmp.chat.id, msg, tmp.message_id), reply: msg => this.send(tmp.chat.id, msg, tmp.message_id),
replyAction: msg => this.send(tmp.chat.id, `Uwe ${msg}`, tmp.message_id), replyAction: msg => this.send(tmp.chat.id, `Uwe ${msg}`, tmp.message_id),
replyNotice: msg => this.send(tmp.chat.id, msg, tmp.message_id), replyNotice: msg => this.send(tmp.chat.id, msg, tmp.message_id),