onCommand

Event handler command test.

version(unittest)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.QUERY).permissionsRequired(Permissions.anyone).channelPolicy(ChannelPolicy.any).addCommand(IRCEventHandler.Command().word("unittest").policy(PrefixPolicy.direct).description("Test command description").addSyntax("$command test command syntax"))
void
onCommand