Fires when an addon communication message is received (see SendAddonMessage()). The local client receives any messages it sends; thus, this event fires for messages sent by the local client as well as those receives from others.

Signature:

("prefix", "message", "channel", "sender")

Arguments:

  • prefix - The prefix declared from SendAddonMessage. (string)
  • message - The message from SendAddonMessage. (string)
  • channel - The message channel used for this message. Possible values include PARTY, RAID, GUILD, BATTLEGROUND, or WHISPER. (string)
  • sender - The username of the sender. (string)