htilly / zenmusic

Slack / Sonos / Spotify / Node.js - Control Sonos through #Slack
125 stars 36 forks source link

Admin Functionality #28

Closed emilylordahl closed 6 years ago

emilylordahl commented 6 years ago

Hi there,

I have this setup so the admin and regular functions are in the same channel so I'm not getting access to the admin functions. Do you recommend just removing the conditional for if (channel.name !== adminChannel) to add these functions? Or am I missing something?

Thanks! My coworkers love that we have this setup.

htilly commented 6 years ago

Hi! Just so that I understand. You want everyone to get access to the admin functions, right?

If so, just change the config to: "adminChannel" : "music" Or what you want to call you official music channel..

And the standard channel to: "standardChannel" : "what-ever-name"

Then you invite everyone to the "adminChannel", in this case #music and everyone should have full access...

BR Tilly

emilylordahl commented 6 years ago

Cool, thanks! I'm not sure that worked but I just commented out those conditionals for now. Thank you!