Server Query: How to receive textchannel event notifications?

Hello,

I am developing a bot for a TeamSpeak 6 server using the SSH Server Query interface. For one of the features, my bot needs to be able to see messages sent by regular clients in a specific channel chat.

I am using the servernotifyregister event=textchannel id={channelID} command to subscribe to these events. The command itself executes without returning any errors.

However, when a regular client sends a message to that specific channel’s chat, my Server Query client does not receive any notifytextmessage notifications. The data stream from the server remains silent regarding these chat messages.

My question is: is it possible for a Server Query client to receive chat messages from a channel? Is this behaviour an intentional limitation (perhaps due to the client’s “scope of view”), or is there another command or method that would allow for monitoring a specific channel’s chat?

Thank you for any clarification on this matter.

Ensure that the Query and the user are in the same channel, since the Server Query can only view channel chat messages sent while the Query client is present there, working just like a regular client.

2 Likes