-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple fixes #14
Open
jvtrigueros
wants to merge
9
commits into
verma:master
Choose a base branch
from
jvtrigueros:make-clj-slackbot-great-again
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Simple fixes #14
jvtrigueros
wants to merge
9
commits into
verma:master
from
jvtrigueros:make-clj-slackbot-great-again
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This causes a nasty error while loading up the REPL. I was a bit confused at first but then I realized this ns didn't exist.
Both of these keys are used by post-to-slack and format-result-for-slack
As per the Slack API documentation, you don't provide a URL to respond to, instead you are given a URL that you should POST results back to.
`format-result-for-slack` expects a certain kind of map. The code has access to this map already, but a different one is sent instead.
`:post-url` shouldn't be mentioned as it is no longer needed
enforser
reviewed
Nov 5, 2018
enforser
reviewed
Nov 5, 2018
enforser
reviewed
Nov 5, 2018
enforser
reviewed
Nov 5, 2018
Thanks for the feedback! I'll address them and re-submit :) |
@enforser I've made the changes requested, please review at your earliest convenience! |
enforser
approved these changes
Mar 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First of all, thank you for giving me a starting point for creating a Slash Command for my Slack group.
Now, right out of the box, I couldn't get this working, and I noticed a few things were off, so I decided that instead of fixing it and moving on, I should offer them back to you, anyway here's a summary:
:init-ns
fromproject.clj
was causing errors when using REPL:response_url
and:user
keys to the:meta
map, they are needed:post-url
and use:response_url
that is given to you on the initial POST