• Handles button presses

    • Checks if the button press is valid
    • If so, calls the appropriate function to handle the button press
    • Returns the appropriate message to send to the user

    Parameters

    • interaction: ButtonInteraction<CacheType>

    Returns Promise<void>

Generated using TypeDoc