mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 10:58:18 +00:00
types(Interaction): change inGuild return type (#6094)
This commit is contained in:
Vendored
+1
-1
@@ -831,7 +831,7 @@ export class Interaction extends Base {
|
||||
public type: InteractionType;
|
||||
public user: User;
|
||||
public version: number;
|
||||
public inGuild(): boolean;
|
||||
public inGuild(): this is this & { guildId: Snowflake; member: GuildMember | APIInteractionGuildMember };
|
||||
public isButton(): this is ButtonInteraction;
|
||||
public isCommand(): this is CommandInteraction;
|
||||
public isMessageComponent(): this is MessageComponentInteraction;
|
||||
|
||||
Reference in New Issue
Block a user