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)
opts.body.reply_to_message_id = reply;
const res = await (await fetch(`${this.api}/sendMessage`, opts)).json();
console.log(res);
await fetch(`${this.api}/sendMessage`, opts);
}
async sendmsg(mode, recipient, msg) {
await this.send(recipient, msg);