• TeamSpeak has reported a vulnerability in it's client that can potentially lead to RCE. A new version has been released that fixes it. So please update the client in your bot installation as soon as possible as well. Click here for more information.
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
SinusBot PHP Library

SinusBot PHP Library 1.1.0

No permission to download

White Tiger

New Member
Awesome! However seems like its missing getCurrentTrack()/isPlaying();. It has getNick(); which works sometimes but some song names are a bit long sooo yeah it cuts half of it off. :-|
 

mxschmitt

Looking for another possibility to make sports.
Staff member
V.I.P.
is awesome!
Contributor
Insider
Awesome! However seems like its missing getCurrentTrack()/isPlaying();. It has getNick(); which works sometimes but some song names are a bit long sooo yeah it cuts half of it off. :-|
Hi, thank you :)

$instance->isPlaying() should work as expected. $instance->getCurrentTrack() is not implemented yet, but already on the TODO here:
https://github.com/SinusBot/api-php/issues/11

$instance->getNick() should also work. Maybe I have to implement a kind of an "refresh" method, which lives on the Instance etc. because the nickname won't be reloaded when the $instance object in PHP lives a very long time.

The maximum amount of characters for the nickname are 30 characters or something like that. It's because of the maximum limit in teamspeak.
 

Similar threads

Top