Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lostdou/douplay

Bot para Discord simple y de facil implementación // Bot for Discord simple and easy to implement
https://github.com/lostdou/douplay

asyncio bot discord discord-bot discord-py discordbot discordmusic discordmusicbot discordmusicplayer dotenv ffmpeg gtts music-bot python python3 tts typing yt-dlp

Last synced: 6 days ago
JSON representation

Bot para Discord simple y de facil implementación // Bot for Discord simple and easy to implement

Awesome Lists containing this project

README

        

# DouPlay 🤖🎶
## A simple bot for Discord / Un bot de musica para Discord
![image](https://github.com/user-attachments/assets/4a2c80c7-e3f1-4ec3-b9cd-a881dd149ff6)

- Script made by: Lostdou
- Script hecho por: Lostdou

## 📚 Description/Descripción

### EN:
- Music bot for Discord simple and easy to implement. (Now with TTS! :3)
As simple as entering the credentials of your Discord App, running it and that's it.

### ES:
- Bot de musica para Discord simple y de facil implementación. (Ahora con TTS! :3)
Tan sencillo como ingresar las credenciales de tu App de discord, ejecutarlo y ya estaría.

## 📋 Features/Caracteristicas

### EN:
- Allows you to listen to your favorite YT songs directly from your discord call.
- Pause, resume, skip to the next song without any problem.
- Also listen to the messages via TTS that your friend sends without a microphone, thanks to this Bot

### ES:
- Permite escuchar tus canciones favoritas de YT directamente desde tu llamada de discord.
- Pausa, reanuda, adelanta a la siguiente cancion sin ningun problema.
- Tambien escucha los mensajes via TTS que envia tu amigo sin microfono, gracias a este Bot

## ⚙️ Installation/Instalación
### EN:
In order to start this bot, follow the steps below:

1- Clone the repository:
```bash
git clone https://github.com/Lostdou/DouPlay.git
```

2- Install dependencies:
```bash
pip3 install python-dotenv
pip3 install discord.py
pip3 install yt-dlp
pip3 install gtts
```
3- Create a ".env" file in the same folder where you cloned the script and enter your app's token there

It should look something like this:

![image](https://github.com/user-attachments/assets/289d1183-15c4-487d-92b9-248bbd1597c8)

4- Now simply enter your bot to your server, run the script and that's it
```bash
python -m main.py
```

### ES:
Para poder iniciar este bot, sigue los pasos a continuación:

1- Clona el repositorio:
```bash
git clone https://github.com/Lostdou/DouPlay.git
```

2- Instala dependencias:
```bash
pip3 install python-dotenv
pip3 install discord.py
pip3 install yt-dlp
pip3 install gtts
```
3- Crea un archivo ".env" en la misma carpeta donde clonaste el script e ingresa ahi el token de tu app

Se deberia ver algo asi:

![image](https://github.com/user-attachments/assets/d764504b-3906-4e00-999d-4ee2accb1b82)

4- Ahora simplemente ingresa tu bot a tu server, ejecuta el script y ya está
```bash
python -m main.py
```

## 🤖 Used Libraries/Librerias usadas

- os
- typing
- dotenv
- discord.ext.commands
- discord
- yt_dlp
- asyncio
- re
- gtts

## 📝 Details/Detalles
### EN:
It may be that when you ask the bot for a song, it does not actually play the song and the file remains there. The easy solution to the problem is to ask for the song back.
I'll have to fix it in the future.

### ES:
Puede que al pedirle una cancion al bot, este no reproduzca la cancion realmente y el archivo quede ahi. La solucion facil del problema, es pedirle devuelta la cancion.
Temdré que solucionarlo a futuro

## ❓ Doubts/Dudas

### EN:
You can send me your questions about the bot, how to make it work, etc. to my Discord: lostdou

### ES:
Puedes enviarme tus preguntas sobre el bot, cómo hacerlo funcionar, etc. a mi Discord: lostdou