loklaan / luxafor-for-slack

Lights up Luxafor depending on Slack statuses.
12 stars 2 forks source link

Custom slack statuses and colours #4

Open andreasvirkus opened 5 years ago

andreasvirkus commented 5 years ago

It would be great to define a set of Slack statuses, which would then trigger a specific colour for Luxafor. Atm this can be achieved via the official Luxafor app via webhooks or Zapier, but it's really cumbersome. It could maybe work by checking the status emoji's textual value? So I could map different emoji codes to any colour, e.g.

{
  ":mute:": "#ff3333",
  ":no_bell:": "#3399ff",
  // multi-colour mapping
  ":tada:": ["#4dc7ad", "#4d86c7", "#eaef58"]
}
loklaan commented 5 years ago

Sounds like a great addition! Want to give it a try @andreasvirkus?