erc-propertize
erc-propertize is an alias for `propertize' in `erc-compat.el
'.
(erc-propertize STRING &rest PROPERTIES)
Return a copy of STRING with text properties added.
First argument is the string to copy.
Remaining arguments form a sequence of PROPERTY VALUE pairs for text
properties to add to the result.