This simple Bash function will post a short message to #afk Slack channel.
After posting the message it will wait for user interaction on which it will post a message that the user returned.
To run it:
- generate legacy token for selected workspace
- add it to declaration of
TOKENvariable - import somewhere (eg
.bash_aliases) function fromafk.shfile