Git Product home page Git Product logo

discord-music-bot-via-pytube's Introduction

Discord-Music-Bot-via-Pytube

A simple Discord bot that plays music from YouTube in the voice channels.

This bot is in very early development, so any help is greatly appreciated.

If you want to try the bot out yourself, you need to download python, pytube, ffmpeg, discord.py, and the main.py file. After you have all of that downloaded, you can run it. It will create a file called audio.mp3 in the same directory you put it in, so just be aware of that.

Features:

-Queue system

-bot play command to play any YouTube video in your Discord VC.

-bot join command to allow the bot to Join the VC (although it will automatically join when you ask it to play)

-bot leave command to allow the bot to leave the VC (It will automatically leave when nothing is played for 2 minutes)

-bot stop to stop the music.

-bot skip to skip the song.

Coming soon:

-bot now playing command to know what is playing.

discord-music-bot-via-pytube's People

Contributors

awesomeparley avatar

Watchers

 avatar

discord-music-bot-via-pytube's Issues

redo bot's way to see if the song has stopped.

Currently we have a horrible system that detects if the bot has stopped the music. It has to wait for 5 whole seconds to then decide if the song was skipped or not. This needs fixed.

"bot queue" Command

A bot queue command that allows the bot to show you what is in the queue and in what order.

Ex:

user: 
bot queue

bot: 
1: numa numa
2: cha cha slide
3: coconut mall
4: it's raining tacos

Skip Command Doesn't work properly

when you use the command "bot skip" to skip a song, it skips the song, then the afterPlay() code also kicks in because of it stopping the song. (Which then skips another song due to the queue code)

bot nowplaying command

Command to see which song is currently playing and how far it is into it.

Here's a concept for what it could look like:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.