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

No hasMatchingEvent on SlackDriver (non-RTM one)? #30

Open
sielver opened this issue Feb 18, 2018 · 3 comments
Open

No hasMatchingEvent on SlackDriver (non-RTM one)? #30

sielver opened this issue Feb 18, 2018 · 3 comments

Comments

@sielver
Copy link
Contributor

sielver commented Feb 18, 2018

Because SlackDriver doesn't redefine hasMatchingEvent from DriverInterface, there seems to be no way of making use of BotMan's event handler mechanism ($botman->on('event_name', ...)) using this driver.

Instead, it seems that the only way is to use the fallback handler.

Is there a reason for this?

@robertodormepoco
Copy link

bumped on the same thing today, +1 for the "is there a reason for this?"

@sielver
Copy link
Contributor Author

sielver commented Feb 23, 2018

@robertodormepoco I've added a pull request for this (see #31), feel free to give it a try.

@robertodormepoco
Copy link

@sielver Thanks, i'll try it.

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

2 participants