V
V
Vladimir Kuchma2020-08-11 20:25:15
Node.js
Vladimir Kuchma, 2020-08-11 20:25:15

How to play random video from discord.js youtube search?

Please help, you can even throw a link, I'll read it!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-08-11
@perpeto

var random = Math.floor(Math.random * число)
if (random === 0) {
// воспроизвести первое видео
} else if (random === 1) {
// воспроизвести второе видео
} . . .

play video - https://discordjs.guide/voice/#quick-example
install everything you need, read the manual and implement.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question