Skip to content

bjyoungblood/swear-trek-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swear Trek Slack Slash Command

aka the new reason you're not getting your work done

You're not getting your work done because

Installation

Do you really need installation instructions? Because

Yes, I really need installation instructions

Fine, I'll tell you what to do

You obviously need help

  1. Create a Tumblr OAuth application

    1. Log into your Tumblr account (or make one)
    2. Register an OAuth application
    • Default callback URL doesn't really matter for this (you can use http://localhost if you want, but don't blame me if that's against the TOS)
    1. Take note of the OAuth Consumer Key
    • You don't need the consumer/secret key or anything else
  2. PRESS THE PURPLE BUTTON, enter key you got from Tumblr, and take note of the name of the Heroku app

    Deploy

  3. Add a slash command to your Slack workspace using the following settings:

    • Command: /sweartrek probably makes sense
    • URL: https://HEROKU_APP_NAME.herokuapp.com/slack
      • Remember how you noted the name of your Heroku app above?
    • Method: POST
      • Not GET. GET won't work.
    • Other options: none of the other options matter (as of now), so customize to your heart's desire
  4. Type /sweartrek (or the alternate command alias you picked) in Slack and enjoy

Feature Requests

yeah no maybe

Seriously though, if you have a cool idea, make a pull request. If you're not sure where to start, open an issue with your idea and questions, and I'll do my best to help you out!

Troubleshooting

If you figured out the above steps, you can probably figure out how to get the Heroku logs. File an issue, and I (or another kind person) might help you out when there's time.

About

Get a random Swear Trek in Slack via a slash command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published