Multivit4min / TS3-NodeJS-Library

TeamSpeak 3 Server Query Library supports SSH and RAW Query

Home Page:https://multivit4min.github.io/TS3-NodeJS-Library/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check if a User has a group

RobinDev03 opened this issue · comments

Hey,

is there a method to theck if the client-object has a specific group?

commented

No. See: #67 (comment)

just check
client.servergroups.includes(string)
or client.servergroups.some(string[])
or client.servergroups.map(parseInt).includes(number)
or client.servergroups.map(parseInt).some(number[])

Thanks