Skip to content
This repository was archived by the owner on Jul 31, 2020. It is now read-only.
This repository was archived by the owner on Jul 31, 2020. It is now read-only.

setCooldown Overwrite with Shorter Cooldown #66

Open
@kateract

Description

@kateract

Currently, when you call setCooldown on a button, it resets the cooldown to the new value, even if it's shorter. Would it be preferred to keep the existing cooldown if longer, and perhaps provide an optional boolean argument overwriiteCoolodwn to setCooldown to force replacement of the cooldown?

Depending on your point of view, this could be seen as either a breaking change, or as a bugfix where the intended behavior would be to keep the longer cooldown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions