Skip to content
A dope bot for iOS Folks
Branch: master
Clone or download
bugKrusha Merge pull request #21 from allenhumphreys/ah/update-repost-message
Thread response, disable link unfurling, and give channel link a label
Latest commit 49e2bc6 Jun 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources Wrap string onto second line for code length Jun 12, 2019
Tests Update template Dec 20, 2017
.gitignore Initial commit Aug 7, 2017
.swift-version Update swift version to 4.1 Nov 1, 2018
Package.resolved Bump May 29, 2019
Package.swift Bump May 29, 2019
Procfile Fix redis instruction May 27, 2019


Getting Started

Set up the project

  • Clone the project
  • Install pkg-config if you don't already have it installed ( brew install pkg-config )
  • Set up vapor (brew tap vapor/tap & brew install vapor/tap/vapor)
  • Set up libressl (brew install libressl & vapor update)
  • Create the Xcode project with Swift Package Manager (swift package generate-xcodeproj)
  • Set up ngrok for development. Run ngrok http to expose your local server to the internet.
  • Look at the URL ngrok gives you (it'll be something like, and add that URL in the Slack app permissions page under "Redirect URIs" with /oauth at the end of it (so, in our example,
  • Create a Slack app. Click "Add features and functionality," and add the "Bots" feature.
  • Set up redis. Docker is an easy way to do this. If you have docker installed, run docker run --name redis -p 6379:6379 -d redis
  • Set the project's environment variables. Click the scheme dropdown, and hit "edit scheme."
  • Set the STORAGE_URL environment variable to the redis URL (redis:// by default)
  • Set CLIENT_ID and CLIENT_SECRET to the IDs that Slack shows on your App page.
  • Set REDIRECT_URI to the redirect URL we set earlier (, in our example)
  • Run the project
  • Visit and authorize the app.
  • You should be online now!
You can’t perform that action at this time.