Add Chat Smiley
Addon Hook
Registers a custom chat smiley replacement texture.
NamespaceCHModuleChatLifecyclestable
CH:AddSmiley(key, texture)Registers a custom chat smiley replacement texture.
Parameters
Section titled “Parameters”key: Smiley token. texture: Texture markup or texture string.
Returns
Section titled “Returns”None.
Example
Section titled “Example”CH:AddSmiley(":myaddon:", E:TextureString(texture, ":16:16"))Useful for addon chat decorations that should run through ElvUI smiley replacement.
Source: ElvUI/Game/Shared/Modules/Chat/Chat.lua:274