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

Introducing custom and multiple annotation events #75

Open
aurasphere opened this issue Mar 2, 2017 · 0 comments
Open

Introducing custom and multiple annotation events #75

aurasphere opened this issue Mar 2, 2017 · 0 comments

Comments

@aurasphere
Copy link
Collaborator

At the moment, the FbBotmillController annotation takes as an argument an FbBotMillEventType. This works great if a user want to handle a basic event, but what if he wants to define a custom event? I think it would be a good idea to introduce another annotation that takes as argument an array of classes extending FbBotMillEvent. This way you could bot handle custom events and multiple events (without using Java 8 multiple annotations and thus keeping backward compatibility).

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

No branches or pull requests

1 participant