caronc / nzb-notify

Push Notifications to a large number of supported services for NZBGet and SABnzbd (based on Apprise)
GNU General Public License v3.0
129 stars 15 forks source link

Sending alerts to private DM in Slack #18

Closed bshifflett closed 7 years ago

bshifflett commented 7 years ago

is there a way to send the notification to a DM in Slack instead of a public channel? or even a private channel? I don't want everyone to see my Plex Notifications.

caronc commented 7 years ago

In the chat API documentation for Slack it says:

Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name.

But in short: the answer is yes; just specify your private channel in the slack URL:

I'm just experimenting with a few things that can't make the code any worse if it doesn't work.. But i added support for @ ... You could try and see if you put your slack username here if it would work (no promises though):

I also added support for the Encoded ID too (if you know it).

You'll have to download this test version from the master branch here if you want to try out the @ or + items.

caronc commented 7 years ago

I have not heard back from you in about a month. I will close this ticket at this time; but feel free to bring any news forth and i'll re-open it if necessary.