• 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.

EN Event like OnFileEnd?

Status
Not open for further replies.

Glumi Chan

New Member
Hello, my question is:

How can i determinate if a track has come to an end. (Except spamming Requests every X seconds)
Is there an Event or something?
Or does someone figured out an Workaround?
 

kanalumaddela

Insider
Insider
From the scripting api documented @ Help -> Scripting
trackEnd
When a track finishes playback, this event gets triggered. If a callback has been defined, it will be handed over as the parameter to this function.
 
Status
Not open for further replies.
Top