mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
feat(Interaction): add isApplicationCommand check (#6801)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1120,6 +1120,7 @@ export class Interaction extends Base {
|
||||
public inGuild(): this is GuildInteraction<'present'> & this;
|
||||
public inCachedGuild(): this is GuildInteraction<'cached'> & this;
|
||||
public inRawGuild(): this is GuildInteraction<'raw'> & this;
|
||||
public isApplicationCommand(): this is BaseCommandInteraction;
|
||||
public isButton(): this is ButtonInteraction;
|
||||
public isCommand(): this is CommandInteraction;
|
||||
public isContextMenu(): this is ContextMenuInteraction;
|
||||
|
||||
Reference in New Issue
Block a user