onAnyMessage

Reacts to the message "same" by agreeing with "same".

Uses manual matching. It is up to the function to decide whether or not it should reply.

Only literal matching is made, so matches are case-sensitive and may not be trailed by other text. Only messages whose contents are literally the characters "same" are matched.

version(WithSamePlugin && MatchByStringComparison)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).permissionsRequired(Permissions.ignore).channelPolicy(ChannelPolicy.home)
void
onAnyMessage