From d510b148806259d746d27bdc9994efa2b7bd0f02 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 7 May 2022 10:35:27 +0200 Subject: [PATCH] xD --- package.json | 2 +- src/clients/tg.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0bc733f..da4a9dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cuffeo", - "version": "1.0.8", + "version": "1.0.8-1", "description": "A multi-protocol chatbot library with nearly zero dependencies.", "main": "src/index.mjs", "scripts": {}, diff --git a/src/clients/tg.mjs b/src/clients/tg.mjs index 6e04284..33e3582 100644 --- a/src/clients/tg.mjs +++ b/src/clients/tg.mjs @@ -137,7 +137,7 @@ export default class tg extends EventEmitter { message: tmp.text, time: tmp.date, raw: tmp, - photo: tmp.photo || null, + media: tmp.media || null, reply: msg => this.send(tmp.chat.id, 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),