Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre and post custom_event #154

Open
idoa01 opened this issue Jun 12, 2019 · 0 comments
Open

Add pre and post custom_event #154

idoa01 opened this issue Jun 12, 2019 · 0 comments

Comments

@idoa01
Copy link

idoa01 commented Jun 12, 2019

custom_event is pretty useful but I'm facing a small issue with it.
In the custom_event block, I'm overwriting the default host param, but I also want to be able to overwrite my default host with something else in a specific place.

currently, the custom_event block runs after everything so I'm always overwriting everything.
I think that adding another pre_custom_event and post_custom_event which will run before setting the Event data and after everything (respectively) so I can decide if I want my event to be overwritten with the message or not.

the current custom_event could stay the same of course to preserve backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant