Hello!
Thank you for your work and work of your team @Splamy
This is not issue.
I only want to ask how to configure this bot for my purposes.
I want to use it as announcer - for example annouce before server restart.
How I can subscribe every user that enter server to receive voice message from bot when I send command to it?
Thank you very much!
P.S. Same i have problem with default channel - I set bot channel based on id but he doesn't move (bot has admin rights)
Hello.
I'm not sure if this is even possible.
I do not think the TeamSpeak server gives a shutdown notice to clients until immediately before it goes down for a shutdown.
There may however be a way to have the bot send a message to everyone post-start.
Perhaps it could catch the server message, automatically reconnect then send everyone a message.
Other than the above I am not sure how what you are asking could be achieved..
On the other hand with your default channel issue:
1.) Move the bot and your client into the channel you wish it to join by default.
2.) Open a private chat with the bot.
3.) Send: !getuser channel
The return value is your channel ID.
Inside of your configTS3AudioBot.cfg file you will see a line like mine: QueryConnection::DefaultChannel=/157
Instead of '157' you will want to enter the value the bot returned for your channel.
Kind regards.
Thank you very much @Synergyst with defaultchannel I have used commas(
You don't understand me. This is not about SHUTDOWN notice. I only want to send voice message to everybody by command without subscriptions.
I think that I can subscribe to all channels but I don't know what to do with new channels. Teamspeak can send whisper to everybody somehow - may be your bot can do this too
Example config in Teamspeak client https://puu.sh/xsXNc/ebceeba8fc.png
Hello.
Sorry I misunderstood your question. I see what you mean now however.
That is out of my scope of understanding.. Perhaps we'll need to wait for someone who's more familiar with the project to assist you.
And I'm happy you got the default channel issue resolved! 馃槃
Kind regards.
Ok I've tried a bit around, seems like those voice all modes use a different packet structure.
I will add those modes to the ts3 client base library soon.
Since there are a lot of options in teamspeak how to whisper to whom i probably wont add dedicated bot commands for that. The easiest way would probably be to create a simple plugin once i have added those whisper methods to the api.
EDIT:
this will probably not be possible via plugin, I will add a generalized bot command, which you have to chain then.
Thank you!
I have downloaded project and opened in VS but don't understand anything.
With plugins the same. If you give some kind of guide may be I can program this.
Thank you @Splamy
I've added the new voice modes on the dev branch. You can make an announcement like that:
!xecute (!play <link> ) (!whisper group AllClients AllChannels)
Thank you very much @Splamy
Please close the issue if everything works as expected