Templating API for IRC messages