pokevision-cli
pokevision-cli copied to clipboard
How Do I Push To Slack?
I've read the guide and my command line looks like this except --slack-webhook is all on the same line. I'm not sure what I am doing wrong.

Which version of the CLI are you running? I recently pushed a fixed which resolved a fatal runtime error. Also, it's worth adding the --forever flag in that command to prevent it exiting when the PokéVision API is experiencing downtime.
I am using version 1.0.8. I just ran it again and added in the --forever flag. When I use a browser to go to my webhook url it says "Bad Token". Is that normal?
Sounds like it should be working then.
The "Bad Token" thing is probably OK, because the webhook expects there to be a payload passed to it. And you going to it in your browser doesn't pass anything.
Are you getting any errors in your console?
Ah that's what I figured but thought I should make sure. No i'm not getting any errors in the console it just alerts me of the pokemon. I'm on a mac running el capitan
If you try adding --notify, are you getting desktop notifications? Or is that not working either?
It was earlier now after the last command the command terminal just idles regardless of if the last command is --notify or '--ignore=Drowzee' even after re running the curl command
Edit: After a restart the --notify is working but still nothing on slack
Can you confirm this is still happening for you? I've had no other reports, and I can confirm it's still working for me on my end.
It's still happening. Everything except slack notifications seems to work

Looks like the command you're running is using the curly quotation marks (”) instead of the standard boring quotation mark ("). Not sure it that would make a difference, but I suspect it's the issue here.
Interesting i'm not sure how to even type the curly quotation mark. I'll give that a try as soon as PokeVision is working again and update this
TextEdit automatically substitutes normal quotes for the fancy ones. If you wrote out the command there first, that could have been it.