typings(CommandInteractionOptionResolver): Document & type thread channels (#6521)

This commit is contained in:
Jiralite
2021-08-29 13:23:20 +01:00
committed by GitHub
parent a6932546e2
commit 774e9609d2
3 changed files with 3 additions and 3 deletions

2
typings/index.d.ts vendored
View File

@@ -3359,7 +3359,7 @@ export interface CommandInteractionOption {
options?: CommandInteractionOption[];
user?: User;
member?: GuildMember | APIInteractionDataResolvedGuildMember;
channel?: GuildChannel | APIInteractionDataResolvedChannel;
channel?: GuildChannel | ThreadChannel | APIInteractionDataResolvedChannel;
role?: Role | APIRole;
message?: Message | APIMessage;
}