# Any Message

![](https://1776366025-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0L1z_JwGF9x5j-YBBE%2Fuploads%2Fwp2m6KI9sibDZ3yHYn1U%2Fimage.png?alt=media\&token=e981a1e6-be9e-4bbb-9d75-41809ceb956c)

\
This event is emitted whenever a message is created.

`tempVars.anymessage` is the variable containing the message that was sent to trigger this event. `tempVars.anymessagemember` is the variable containing the member who sent this message to trigger the event. Both can be leveraged in response to the event.&#x20;

### Example response

![](https://1776366025-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0L1z_JwGF9x5j-YBBE%2Fuploads%2F6uN2PLYgJVEv7R44R75g%2Fimage.png?alt=media\&token=f41c1170-4b51-4fbd-9415-dcd730ededea)

Connecting the above response to the Any Message event will send a message tagging the user who sent a message and showing the name of the channel they sent that message in.
