Jamiewarb / tea-bot

Tea Bot - A Slack Bot to help with your office tea needs
https://www.hexdigital.com
4 stars 0 forks source link

Tea bot @channel permissions issue #16

Open adamssski opened 6 years ago

adamssski commented 6 years ago

Hello,

It seems to me that tea bot can't message a channel. I don't get any notifications and "@channel" appears as normal text.

screen shot 2018-07-24 at 10 58 24

Jamiewarb commented 6 years ago

Hi @adamssski Yes this seems to be the case, and that messaging a channel isn't available to the bot.

I've not come up with a workaround for this. Though thinking about it now, perhaps you could create a Slack group for @tealovers, then add the people that would like notifications for this. I could then add a config option for notifyGroup, which would output the group there instead of @channel.

If you or anyone has any other ideas, let me know!

adamssski commented 6 years ago

Ah I see. Does the following from Slack documentation help at all:

To notify members with a bot message, the message must contain <!channel> or <!everyone>.

Source: Slack

Jamiewarb commented 6 years ago

Interesting, I'll look in to this and see if it works. Thanks!