Instead of a long if-else statement, it can be put into a map of string->functions.
This is possible now due to the fact every command handler function takes the same exact argument (an IRCMessage).
Instead of a long if-else statement, it can be put into a map of string->functions.
This is possible now due to the fact every command handler function takes the same exact argument (an `IRCMessage`).
Tomatix
added this to the Version 1.2.0 milestone 3 years ago
Instead of a long if-else statement, it can be put into a map of string->functions.
This is possible now due to the fact every command handler function takes the same exact argument (an
IRCMessage
).