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

RegisterChannelNotification Information. #46

Open
IlTuoNome opened this issue Jan 30, 2020 · 5 comments
Open

RegisterChannelNotification Information. #46

IlTuoNome opened this issue Jan 30, 2020 · 5 comments

Comments

@IlTuoNome
Copy link

IlTuoNome commented Jan 30, 2020

Hi, i'm trying to intercept when a client enter in a room (115) with the example in Notifications, but when a client enter in the room the code not notify me.

Code:
Immagine

is the code right? Thanks for your attention.

@nikeee
Copy link
Owner

nikeee commented Jan 30, 2020

The ClientEnterView event ony fires if the query client "sees" the user. The query client is actually a user that is hidden in the default configuration of the teamspeak client.

Try moving the bot to the channel 115. Also, make sure the bot as actually the permissions to see other users.

@IlTuoNome
Copy link
Author

Thanks for the immediate response, what permissions should the bot have? because the program does not return any error of permission.

@nikeee
Copy link
Owner

nikeee commented Jan 30, 2020

Well, the client does not know if the user does not have the permission to see other people on the server. Any client can not distinguish between "I am the only client on the server" and "There are other people and I am not allowed to see them". So it is not even possible to report an error. It is a permission one can configure in the server.

Also, try to move the query client to the channel with the ID 135.

@nikeee
Copy link
Owner

nikeee commented May 15, 2020

Is this issue resolved? It will be closed in 7 days if there is no feedback.

@scheissegalo
Copy link

scheissegalo commented Feb 17, 2023

Hi I have a similar issue. Trying to subscribe to the events. It works fine in a forms application but in a console application it somehow never fires.

/edit Nevermind, my issue was the async and await.

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

3 participants