For the TS3MusicBot you need a Querylogin if you want to use it with querymode.
So here a little tutorial:
Open your TeamSpeak client.
Now you click on the menu Tools, then click Server Query Login.
This will open a popup window where you can define the name for the Query login. after that click OK and then your query login name and a generated password will be displayed.