WoW:API ComplainChat: Difference between revisions
Jump to navigation
Jump to search
(fix lineid example to account for extra link args) |
m (Move page script moved page API ComplainChat to API ComplainChat without leaving a redirect) |
(No difference)
| |
Latest revision as of 04:45, 15 August 2023
← WoW API < ComplainChat
Complain about a specific chat message to the Game Masters.
ComplainChat(lineID) ComplainChat(author, [message])
Arguments
Notes
- Abusing the spam-reporting API will get it protected. [1]
- Complaining about a player squelches further communication from the target's account for the rest of the session. [2]
- lineID can also be obtained from the player link. E.g.
local lineID = strmatch(link, ("|Hplayer:[^:]*:(%d+):.*|h")- useful if using OnHyperlinkClick, OnHyperlinkEnter, or OnHyperlinkLeave.
See Also
- API CanComplainChat