Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Add a commandExecutedSuccess event. #68

Open
moonstar-x opened this issue Dec 3, 2022 · 0 comments
Open

Add a commandExecutedSuccess event. #68

moonstar-x opened this issue Dec 3, 2022 · 0 comments
Labels
Priority: Medium This is medium priority. Type: Feature Request This is a feature request.

Comments

@moonstar-x
Copy link
Member

⚡ Describe the New Feature

There should be a difference in the events when running commands in case they error.

Currently, if a command errors, the commandError and commandExecute events will trigger.

This issue suggests that instead:

Any command run triggers the: commandTriggered event before running the command, then if the command runs successfully it should fire the commandExecuted event, otherwise it should fire the commandError event.

@moonstar-x moonstar-x added Priority: Medium This is medium priority. Type: Feature Request This is a feature request. labels Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Priority: Medium This is medium priority. Type: Feature Request This is a feature request.
Projects
None yet
Development

No branches or pull requests

1 participant