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

Can't write messages to the Query #5

Open
loliebop opened this issue Sep 17, 2024 · 3 comments
Open

Can't write messages to the Query #5

loliebop opened this issue Sep 17, 2024 · 3 comments

Comments

@loliebop
Copy link

I can't write the query directly. If I try to write directly (private) to the query, I get a message like this:

This ServerQuery client has not registered for private text messages with “servernotifyregister event=textprivate”. This text message was not received.

@loliebop loliebop changed the title Can't write messages to the query Can't write messages to the Client Sep 17, 2024
@loliebop loliebop changed the title Can't write messages to the Client Can't write messages to the Query Sep 17, 2024
@jkoenig134
Copy link
Owner

As I'm not anymore that deep in the topic I'll need some more information to fix this.

What were you trying to do? And how exactly? Please send some code snippets to debug this.

@loliebop
Copy link
Author

The query writes me a Message if I join a specific Channel

client.SendClientMessage(currentID, message)

And in the NotifyTextMessage event I try to give a response, but if I try to send a msg back to the query I get this error on teamspeak:

This ServerQuery client has not registered for private text messages with “servernotifyregister event=textprivate”. This text message was not received.

         err = client.SubscribeEvent(ts3.NotifyTextMessage, func(v *ts3.TextMessageEvent) {
		if !v.IsPrivate() {
			return
		}
             // ...
	})

@loliebop
Copy link
Author

I miss clicked .-.

@jkoenig134 jkoenig134 reopened this Sep 17, 2024
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