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.
it's a great idea and relatively easy to make; the problem is get who enqueue the song.
Small test I did
var media = require('media');
var queue = media.getQueue();
queue.forEach(function(track) {
engine.log(track.title() + " " + (track.duration() > 0 ? (track.duration() / 1000) : 0 ));
})...
New settings:
Added command trigger
Added autosearch
Added error message
Now when you type the command without syntax get the current song.
New artits/song separators: -, @, |, *
You can block users via webpanel, take a look to script settings, maybe in next versions you can do it via script command.
Also if you have questions about certain script, please reply the script thread: https://forum.sinusbot.com/threads/youtube-search.1160/
I tested and is it working for me, you can try !youtube-reset <botname> (you need be a admin) and configure from web panel again.
Default filters are:
No videos longer than 15min
Any video title
New features:
- added commands
- !{command}-video get video details (not play)
- !{command}-search search 5 videos
- !{command}-setkey set an API key
- !{command}-reset reset all settings
- New format variables:
- title
- description_complete
- description
- video_id
- yt_link
-...
Script update & tested on SinusBot 0.9.18-8499d2c.
- Update some code
- Port most of the script to new engine (except http/queue methods - but it works for now)
Note:
- if you not get sound on your bot make sure you have the latest youtube-dl binaries installed on your bot (test with !yt...
Search youtube video!
-------
Features:
Search videos
Retrieve information from youtube links sended from chat
Download/Play directly from command
Queue playback
TS Groups permissions
Video filters
Discord
-------
Format values:
{title} - Video title
{description} - Video Description...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.