onAnyMessageRegex

Reacts to the messages which match the text "same" with some optional punctuation afterwards.

Uses the regular expression "^same[!.]*$".

version(WithSamePlugin && MatchWithRegex)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).permissionsRequired(Permissions.ignore).channelPolicy(ChannelPolicy.home).addRegex(IRCEventHandler.Regex().policy(PrefixPolicy.direct).expression(r"^same[!.]*$").description("Same."))
void
onAnyMessageRegex