I used this tutorial to create a Slack bot. Now I want that Slack Bot to send an alert to the channel. However, simply including @channel in the message doesn't work.
Firstly, to escape a sequence use <
and >
.
Secondly, the @
should be replaced with a !
.
The format of the message should therefore be:
<!channel> Hello World
This will notify the channel with the message Hello World.
For more information see the docs (particularly the sections on the use of <
and >
and Variables).