pyslackers/sirbot-pyslackers

New Channel Notifier

Opened this issue · 4 comments

Since the admins are humans, we sometimes forget to announce new channels. Perhaps a Sirbot feature to auto-announce them could be pretty nice to have if unmentioned in #annoucements before midnight the day of creation.

ovv commented

In order to not spam #annoucements too much maybe something that count added / deleted channel per month and we do one annoucement per month will all changes ?

Batching it seems like a solid idea!

hi, i will open this conversation again.

it will only announce the channel if the creator is an admin right ?

ovv commented

Only admins are allowed to create channels.

If you are interested in this feature I think the first part would be to:

  1. Add a announced boolean in the slack.channels db table
  2. When we grab the channels set the boolean to False when it's a new channel
  3. Once a month (?) post in the admin channel all the new channels and marked them as announced