This slack command turns any text into zalgo.
Configure a Slack Slash command. I recommend /zalgo
/zalgo some text
to summon the old one.
/zalgo help
to ask the old one for help.
- Clone this repository
npm install
- Set your configuration environment variables
npm start
npm install
(make sure your NODE_ENV !=production
)npm test
Build an image using docker build -t your_image:tag
Official Image shaunburdick/slack-zalgo
You can set the configuration of the bot by using environment variables. ENVIRONMENT_VARIABLE=Default Value
- ZALGO_VALIDATION_TOKEN=, the validation token for your command app, separate multiple with comma (,)
- ZALGO_PORT=3000, what port he listens on
Set them using the -e
flag while running docker:
docker run -it \
-e ZALGO_VALIDATION_TOKEN=aslkasjlkasd \
shaunburdick/slack-zalgo:latest
- Create a new branch, please don't work in master directly.
- Add failing tests for the change you want to make (if appliciable). Run
npm test
to see the tests fail. - Fix stuff.
- Run
npm test
to see if the tests pass. Repeat steps 2-4 until done. - Check code coverage
npm run coverage
and add test paths as needed. - Update the documentation to reflect any changes.
- Push to your fork and submit a pull request.