mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types: make MessageTarget extend on TextBasedChannels (#6296)
@kyranet and I found the bug when updating @skyra/editable-commands when our custom function that accepted an argument of `MessageTarget` was suddenly no longer accepting `message.channel`. Turns out it was because of a mistake @kyranet made lulz
This commit is contained in:
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
@@ -4101,10 +4101,7 @@ export interface MessageSelectOptionData {
|
||||
export type MessageTarget =
|
||||
| Interaction
|
||||
| InteractionWebhook
|
||||
| TextChannel
|
||||
| NewsChannel
|
||||
| ThreadChannel
|
||||
| DMChannel
|
||||
| TextBasedChannels
|
||||
| User
|
||||
| GuildMember
|
||||
| Webhook
|
||||
|
||||
Reference in New Issue
Block a user