Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Add pre-run method to event class #65

Open
2 tasks
Vylpes opened this issue Nov 28, 2021 · 0 comments
Open
2 tasks

Add pre-run method to event class #65

Vylpes opened this issue Nov 28, 2021 · 0 comments
Milestone

Comments

@Vylpes
Copy link
Owner

Vylpes commented Nov 28, 2021

This method will allow the event to run checks (such as if .env contains the variable it needs) before it runs the event

  • Add method, requiring a bool to be returned
  • Add into event handler to run this method first, and only run the event is true is returned
@Vylpes Vylpes added this to the 2.1 milestone Nov 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant