Skip to content

e-gineering/restjoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configuring Service as Outgoing Webhook in Slack

Navigation

  1. From your slack home page, while logged in, choose Customize Slack option in the drop-down menu at the top left corner of the page. A new Customize Your Team window should be opened.
  2. Click on the Configure Apps option in the menu to the left. A new window with a list of apps should be opened.
  3. Choose Custom Integrations on the menu to the left.
  4. In the list of integrations, choose Outgoing Webhooks. A list of current E-gineering Custom integrations will be listed.
  5. If a Chuck Norris Configuration isn't already present, click the Add Configuration button, and follow the set-up instructions below. If one does exist, then just click on the edit button to the right of the current Chuck Norris configuration.

The settings for the service should be as follows:

Channel: Any

Trigger Words: chucknorris (this will allow upper- and lowercase anywhere in the word, i.e. chuCkNorris will be accepted)

URL: URL of your service endpoint

Token: Caution! This value should be changed during initial set up only:

  1. click the Regenerate option just below the dialog box.
  2. Set the resulting token value to an environment variable named CN_EXPECTED_TOKEN available in whatever server is hosting the service.
  3. Any time the token is regenerated in the Slack configuration, it must also be updated in the system's environment

Descriptive Label: appropriately describe the service. Currently: "A random, inexplicit Chuck Norris joke can be delivered from the heavens in the same way that Check Norris delivers earth-shattering roundhouse kicks."

Customize Name: Chuck Norris

Customize Icon: Use any icon you wish. A grayscale caricature of Chuck is a great option.

A preview of the bot will be shown. Check that it appears the way you want. Choose Save Settings once the service is configured.

About

A simple REST service that serves up jokes. Slack endpoint included.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published