Add pre-run method to command class #64

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

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

  • Add method, requiring a bool to be returned
  • Add into command handler to run this method first, and only run the command is true is returned
This command will allow the command to run checks (such as if .env contains the variable it needs) before it runs the command - [ ] Add method, requiring a bool to be returned - [ ] Add into command handler to run this method first, and only run the command 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#64
No description provided.