MDX-CS / lily

Lily - the ultimate Slack bot
MIT License
1 stars 0 forks source link

Make `MessageBox` abstract #25

Open kouks opened 7 years ago

kouks commented 7 years ago

If there was an abstract class Box, we could assign this box to the EventResolver and completely get rid of subsequent event resolvers (because the only difference between MessageEventResolver and other ones is that it uses MessageBox). Then we could move the suitable() method back on the ModuleProvider class. This is, however, more of a design decision.