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

Detect if Server is Onboarded #25

Open
samuelsogbesan opened this issue Feb 16, 2021 · 0 comments
Open

Detect if Server is Onboarded #25

samuelsogbesan opened this issue Feb 16, 2021 · 0 comments
Assignees

Comments

@samuelsogbesan
Copy link
Owner

We need a utility that can detect if a server is fully onboarded, and if not then up to what part.

Pre-requisites to onboarding:

  1. The server has atleast 2 distinct voice channels.

A server is fully onboarded if:

  1. If it has assigned queue channel(s)
  2. If it has assigned interview channel(s)

The method, getOnboardingState(serverId) returns an integer between 0 and 2, where 0 indicates a fully onboarded server, 1 indicates a server that needs to assign queue channels, and 2 indicates a server that needs to assign interview channels.

@samuelsogbesan samuelsogbesan self-assigned this Feb 16, 2021
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

1 participant