mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(UserContextMenuCommandInteraction): Nullify targetMember (#9844)
types(UserContextMenuCommandInteraction): nullify `targetMember` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -3171,7 +3171,7 @@ export class UserContextMenuCommandInteraction<
|
||||
> extends ContextMenuCommandInteraction<Cached> {
|
||||
public commandType: ApplicationCommandType.User;
|
||||
public get targetUser(): User;
|
||||
public get targetMember(): CacheTypeReducer<Cached, GuildMember, APIInteractionGuildMember>;
|
||||
public get targetMember(): CacheTypeReducer<Cached, GuildMember, APIInteractionGuildMember> | null;
|
||||
public inGuild(): this is UserContextMenuCommandInteraction<'raw' | 'cached'>;
|
||||
public inCachedGuild(): this is UserContextMenuCommandInteraction<'cached'>;
|
||||
public inRawGuild(): this is UserContextMenuCommandInteraction<'raw'>;
|
||||
|
||||
Reference in New Issue
Block a user