WoW API: ComplainChat
Jump to navigation Jump to search
→ WoW API
ComplainChat(lineID) ComplainChat(author, [message])
- Abusing the spam-reporting API will get it protected. 
- Complaining about a player squelches further communication from the target's account for the rest of the session. 
- 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.
- API CanComplainChat