• 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
#2
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

Gave up the fitness studio
Staff member
V.I.P.
is awesome!
Contributor
Insider
#3
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