$uuid
$uuid : string
UUID stores the SinusBot Instance UUID
Class Instance
Instance represents a single instance of the SinusBot
__construct(\SinusBot\API $api, array $instance) : void
__construct
\SinusBot\API | $api | SinusBot API |
array | $instance | SinusBot Instance array |
getCurrentTrack() : \SinusBot\File
getCurrentTrack returns the current track which will be played
request(string $path, string $method = "GET", string $payload = null, boolean $encoded = false) : array
request executes a request to the SinusBot API
string | $path | /api/v1/ |
string | $method | http method |
string | $payload | http POST payload |
boolean | $encoded | when not encoded it will be JSON marshalled |
decoded JSON response