Nostradamus Prophecy Machine

    discord-button-helpers

    4.0.2 • Public • Published

    Discord (.js) Button Helpers

    Just a simple package that helps with Discord Buttons

    createButton

    OPTION TYPE REQUIRED DEFAULT DESCRIPTION
    label String false None The label of the button.
    emoji DiscordEmoji false None The emoji of the button.
    disabled Boolean false false If the button should be disabled/unusable.
    customId String true None The developer set custom ID useful for handling the button responses.
    style ButtonStyle (PRIMARY SECONDARY SUCCESS DANGER)

    Example

    const Button = DiscordButtons.createButton({
        label: "Button",
        customId: "test_button_123"
    });

    createLinkButton

    disableAllButtons

    unDisableAllButtons

    Install

    npm i discord-button-helpers

    DownloadsWeekly Downloads

    5

    Version

    4.0.2

    License

    ISC

    Unpacked Size

    6.04 kB

    Total Files

    8

    Last publish

    Collaborators

    • turtlepaw