onCounterWord

Allows users to increment, decrement, and set counters.

This function fakes IRCEventHandler.Commands by listening for prefixes (and the bot's nickname), and treating whatever comes after it as a command word. If it doesn't match a previously added counter, it is ignored.

version(WithCounterPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).permissionsRequired(Permissions.anyone).channelPolicy(ChannelPolicy.home)
void
onCounterWord