Deploy to now with now
Just pass the script a string of your choosing.
python partyparrot.py "HELLO" | pbcopy
Use the -e
or --emojis
flag to use a custom list of emojis.
python partyparrot.py "something stupid" -e ":emoji1:" ":emoji2:" ":emoji3:" ":emoji4:" | pbcopy
Use the -f
or --force
flag to auto-post to your favorite Slack channel (configure URL in the "Incoming Webhooks" section of the "Integrations" page).
SHITPOSTING_ENDPOINT="<YOUR_SLACK_INCOMING_WEBHOOK_URL>" python partyparrot.py "something stupid" -f
Now that slack supports posting to the channel in response to a slash command, providing the party parrot as one makes a lot of sense. Simply deploy this app to your favorite Procfile-compatible hosting provider (heroku and dokku come to mind) and configure the Custom Slash Command Integration in your slack channel. The app allows for the optional ENV var SLACK_TEAM_TOKEN
to restrict access to a specific team.
implying you actually want to test this
python test_partyparrot.py
I also made a shirt for the party parrot because it compelled me to. help me Teespring Campaign