Fix minor bug
- DiscordAPIError: 405: Method Not Allowed (try delete typing)
This commit is contained in:
parent
721d1216e0
commit
e6128469fe
@ -219,7 +219,6 @@ class TextBasedChannel {
|
|||||||
// const d = await this.client.api.channels[this.id].messages.post({ body, files });
|
// const d = await this.client.api.channels[this.id].messages.post({ body, files });
|
||||||
const d = await _send(this.client, this.id, body, files);
|
const d = await _send(this.client, this.id, body, files);
|
||||||
console.log(d);
|
console.log(d);
|
||||||
await this.client.api.channels(this.id).typing.delete();
|
|
||||||
return this.messages.cache.get(d.id) ?? this.messages._add(d);
|
return this.messages.cache.get(d.id) ?? this.messages._add(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user