Giter Club home page Giter Club logo

partyparrot's Introduction

:partyparrot:

partyparrot

Usage

Deploy to Heroku

With the Party Parrot (:partyparrot:)

Just pass the script a string of your choosing.

python partyparrot.py "HELLO" | pbcopy

Custom Emoji List

Use the -e or --emojis flag to use a custom list of emojis.

python partyparrot.py "something stupid" -e ":emoji1:" ":emoji2:" ":emoji3:" ":emoji4:" | pbcopy

Auto-Post to Slack

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

As a Slash Command /partyparrot

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.

Tests

implying you actually want to test this

python test_partyparrot.py

Shameless Plug

I also made a shirt for the party parrot because it compelled me to. help me Teespring Campaign teespring campaign

partyparrot's People

Contributors

emilypries avatar gabebenjamin avatar shrugs avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.