Constructors

Properties

actionRow?: ActionRowBuilder<MessageActionRowComponentBuilder>
allowedMentions: MessageMentionOptions = {}
appliedTags?: string[]
avatarURL?: string
channel?: Channel
choices: ApplicationCommandOptionChoiceData<string | number>[] = ...
components: (ContainerBuilder | ContainerComponentBuilder)[] = ...
content?: string
deleteIn?: number
edit: boolean = false
embeds: EmbedBuilder[] = ...
ephemeral: boolean = false
files: AttachmentBuilder[] = ...
followUp: boolean = false
inside: ComponentType[] = ...
isComponentsV2: boolean = false
modal?: ModalBuilder
poll?: PollData
reference?: string
reply: boolean = false
stickers: StickerResolvable[] = ...
threadId?: ThreadChannelResolvable
threadName?: string
tts: boolean = false
update: boolean = false
username?: string
withComponents: boolean = false
withResponse: boolean = false

Methods

  • Checks if current context is inside a component builder function.

    Parameters

    • type: ComponentType

      The type of the component to check for.

    Returns boolean

Generated using TypeDoc