INVITE IT TO A CHANNEL AND SEE HOW IT WILL NOT ALLOW YOU TO USE ANYTHING BUT UPPERCASE!
REASONABLE RECENT VERSION OF GO. I USED GO MODULES.
USED THIS GUIDE TO OBTAIN A SLACK TOKEN AND GET THE "APP" INSTALLED.
HAD TO RUN THE FOLLOWING TO MAKE THE SLACK LIBRARY PLAY NICE (CURRENT VERSION PICKED UP BY GO CONTAINS THIS BUG):
go get github.com/nlopes/slack@d06c2a2b3249b44a9c5dee8485f5a87497beb9ea
SLACKTOKEN=YOURTOKENHERE go run main.go
SEE ALLCAPS.SERVICE SYSTEMD SERVICE DEFINITION.
TO INSTALL (TESTED ON UBUNTU 16.04):
adduser allcaps
- COPY
allcaps
BINARY TO/home/allcaps
- PLACE SYSTEMD SERVICE SCRIPT IN
/lib/systemd/system/
sudo systemctl enable allcaps.service
sudo systemctl start allcaps
sudo journalctl -f -u allcaps
THE LAST COMMAND WILL SHOW IF THE SERVICE WAS STARTED.