💾 Archived View for uhc.megaburken.net › help › posttoslack captured on 2021-11-30 at 20:18:30.

View Raw

More Information

-=-=-=-=-=-=-

PostToSlack - Posts a message to a slack-channel

Usage: posttoslack CHANNEL/A,USERNAME/A,MESSAGE/A

CHANNEL: The Slack-channelname to post the message to
USERNAME: The username which the message will be posted under
MESSAGE: The message

This script also needs the ENV-variable SLACKAPIKEY to be set, the key can
be recieved from slack and is set using:

SetENV SLACKAPIKEY "xxxxxxxxx/xxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxx"