Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query for connected teams #33

Open
yayitswei opened this issue Mar 28, 2017 · 1 comment
Open

query for connected teams #33

yayitswei opened this issue Mar 28, 2017 · 1 comment

Comments

@yayitswei
Copy link

Hi, first of all thanks for making Relax. We've found it very useful so far. Is there a way to list all the live connections? Would be great for making sure all the teams we expect to be connected are actually connected. If not, could you suggest a workaround?

@arunthampi
Copy link
Owner

@yayitswei hmm this is a good question, maybe there is a way we can expose an API endpoint that will expose this information.

Right now redisClient.HGetAll(os.Getenv("RELAX_BOTS_KEY")) returns a list of all teams but some of those teams might have "unsubscribed from your bot" so it won't give you an uptodate number. Let me think about what is the best way to approach exposing this info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants