A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/westwick/haiku-detector below:

westwick/haiku-detector: A cool slack bot that will find hidden haikus in your slack messages

haiku-detector

A Slack bot that scans your messages for hidden Haikus and reposts them in Haiku format

Running the bot Run on Heroku

The quickest way to get started, deploy to Heroku for free:

Run locally

To run the bot you can either npm start or node bin/run.js. You will need to pass in an API_TOKEN environment variable:

$ API_TOKEN=example_slack_token npm start

Debugging

To check if a string is a haiku without using the slack bot, you can run the following in the terminal, which will also print out the syllables: $ node lib/cli.js "string you want to check"


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4