Multivit4min / TS3-NodeJS-Library

TeamSpeak 3 Server Query Library supports SSH and RAW Query
https://multivit4min.github.io/TS3-NodeJS-Library/
MIT License
149 stars 18 forks source link

'ChannelEntry' event missing #148

Closed omcho420 closed 3 years ago

omcho420 commented 3 years ago

Describe the bug Well it's quite simple there is no 'ChannelEntry'

To Reproduce https://github.com/Multivit4min/TS3-NodeJS-Library/blob/master/src/TeamSpeak.ts#L38

Expected behavior I expected it to be there 😆

Versions used

Additional context None

Multivit4min commented 3 years ago

I am not quite sure what "ChannelEntry" is and what it actually should do. Is this a TeamSpeak Event?

omcho420 commented 3 years ago

I found it here since I wanted to do something with clients joining certain channels

https://multivit4min.github.io/TS3-NodeJS-Library/interfaces/channelentry.html

Multivit4min commented 3 years ago

Yeah this type declaration does not get exported in the root node you can import it via

import { ChannelEntry } from "ts3-nodejs-library/lib/types/ResponseTypes"
omcho420 commented 3 years ago

Thanks I love you ♥

omcho420 commented 3 years ago

Yeah that is done but can I use this as an event? Like this server.on('channelentry', async event => { });

omcho420 commented 3 years ago

I'm just trying to figure out what gets triggered when a client joins a channel, if anything is triggered would appreciate any help/name of event

Multivit4min commented 3 years ago

all available events are listed here: https://multivit4min.github.io/TS3-NodeJS-Library/classes/teamspeak.html#on

all teamspeak events should be supported

omcho420 commented 3 years ago

there's something about 'notifychannelchanged' here

http://yat.qa/ressourcen/server-query-notify/

Multivit4min commented 3 years ago

yeah and if you check the link i posted above there is the channeledit event which might be exactly that event

omcho420 commented 3 years ago

it does notify me of channel editing but not when a user joins any channel tho

Multivit4min commented 3 years ago

for this use the clientmoved event