Trying to integrate drupal with slack using this module and found that the new urls are like this:

https://hooks.slack.com/services/XXXXX/YYYY/ZZZZZ

So no team name or token in it.
Maybe changing the settings to just specify the url?

Regards

CommentFileSizeAuthor
#1 new_slack_url-2387309-1.patch3.02 KBsarhugo

Comments

sarhugo’s picture

StatusFileSize
new3.02 KB

Attached patch that adapts the new setting.

jpitassi’s picture

Thanks for this was about to write it, but thought I would check first.

deekayen’s picture

Status: Active » Needs work

I'd find it pretty annoying to have to lookup API docs to find a web hook URL. Why can't you template the URL and insert variables like it was done before your patch?

Anonymous’s picture

Status: Needs work » Closed (fixed)

Hello sarhugo.
Thank you for feedback.
We have updated the Slack module.
Now we use Webhook URL to send messages.

Best Regards,
Artem.