• Returns the array that should be given to the components attribute of a message.
    There is a maximum of 25 blocks, due to Discords limits.
    Will be printed in rows of 5s

    Returns

    Array of ActionRowBuilder containing the buttons

    Parameters

    • blocks: CalendarBlock[]

      Blocks that should be given a button. Buttons will be added in the order of this array

    Returns ActionRowBuilder<ButtonBuilder>[]

Generated using TypeDoc