Fix minor bug
- DiscordAPIError: 405: Method Not Allowed (try delete typing)
This commit is contained in:
		| @@ -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); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user