The handleMessage method in CommandDispatcher is private. This doesn't seem to make sense?
handleMessage is called in the constructor of the Commando client, and nothing in CommandDispatcher actually calls it.
So, it seems like this should be a public method? I'm writing a child class in TypeScript of CommandDispatcher to intercept all messages, and this interface definition is causing problems.
Is there a design decision behind this, or should this be changed?
The
handleMessagemethod inCommandDispatcheris private. This doesn't seem to make sense?handleMessageis called in the constructor of the Commando client, and nothing inCommandDispatcheractually calls it.So, it seems like this should be a public method? I'm writing a child class in TypeScript of
CommandDispatcherto intercept all messages, and this interface definition is causing problems.Is there a design decision behind this, or should this be changed?