slack goat bot
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A dumb Slack bot to make bad goat puns. Why did I even make this???

To execute, first retrieve a Slack bot token, and set it to environment variables, as described here:

Then, run python, and you should be good (goat) to go!

The code is easily modifiable to run other text replacement auto-commands. To do so, add a line in the format of if 'KEYWORD' in text on line 43.

Then, in the 'handle_command' function in, add a line in the format command = command.replace('KEYWORD','REPLACEMENT-KEYWORD')