R
R
reverend-dikiy2021-07-06 09:25:51
Bots
reverend-dikiy, 2021-07-06 09:25:51

How to implement voice acting of text when connected to a voice channel?

Good day. I want to write a bot that, when a user connects to a voice channel, will voice the prepared recording. How or even possible to do this, and what python libraries can be used for this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TanderOFF, 2021-07-29
@TanderOFF

There are sources of bots that play music from YouTube, so
Record a video on YouTube, limit it to "Access by link"
Then, check on_voice_state_update for user connections to the channel, for example, verification, and there you already take a piece of code from the source of the bot that plays music and substitute your link from youtube.
Wrote it wrong. But I think it's clear

H
HemulGM, 2021-07-06
@HemulGM

Can. You need the Discord wrapper library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question