• We would like to invite you to check out the latest 1.0 alpha versions. You can read more about what's new here. Please note, that this is still an early release and will contain new bugs ¯\_(ツ)_/¯
  • 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