too much debug lol
This commit is contained in:
parent
4a53d52bd5
commit
bb7dc2bef6
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user