Skip to content

Events and commands onBefore return boolean #29

@Alon-L

Description

@Alon-L

Return boolean from a method registered as before that determines whether the execute method should run.
This would be useful for certain commands that require certain guild permissions, and more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions