too much debug lol

This commit is contained in:
Flummi 2019-09-14 13:17:35 +00:00
parent 4a53d52bd5
commit bb7dc2bef6

View File

@ -78,8 +78,7 @@ export default class tg extends EventEmitter {
}; };
if (reply) if (reply)
opts.body.reply_to_message_id = reply; opts.body.reply_to_message_id = reply;
const res = await (await fetch(`${this.api}/sendMessage`, opts)).json(); await fetch(`${this.api}/sendMessage`, opts);
console.log(res);
} }
async sendmsg(mode, recipient, msg) { async sendmsg(mode, recipient, msg) {
await this.send(recipient, msg); await this.send(recipient, msg);