Add pre-run method to event class #65

Open
opened 2021-11-28 13:59:25 +00:00 by Vylpes · 0 comments
Vylpes commented 2021-11-28 13:59:25 +00:00 (Migrated from github.com)

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
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
This repo is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/vylbot-core#65
No description provided.