• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.
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

Moderator
Staff member
is awesome!
V.I.P.
is uber 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.
 
Top