Skip to content

BIGSUS24/Music-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

README for VS Code Requirements: Python 3.10 or higher: Download here Discord Bot Token: Get one from the Discord Developer Portal Libraries: discord.py pynacl youtube_dl yt-dlp ytsearch-python ffmpeg Step-by-Step Guide: Install Python:

Make sure Python is installed and added to the PATH. Verify installation using: python --version Clone or Download the Bot Code:

Place the bot code in a folder of your choice. Open the Project in VS Code:

Open VS Code and navigate to your bot’s folder. Set Up a Virtual Environment (Optional but recommended):

Open a terminal inside VS Code: Ctrl + ~ Run the following commands: bash Copy code python -m venv venv source venv/Scripts/activate # Windows Install Required Packages:

bash Copy code pip install discord.py pynacl youtube_dl yt-dlp ytsearch-python Also, install FFmpeg from here and add it to your system PATH.

Add Bot Token:

In your bot’s script, replace <YOUR_BOT_TOKEN> with your Discord bot token. Run the Bot:

Open a terminal in VS Code. Execute: bash Copy code python your_bot_file.py Invite the Bot to a Server:

Create an invite URL for the bot and add it to your server through the Discord Developer Portal. README for PyCharm Requirements: Python 3.10 or higher: Download here Discord Bot Token: Get one from the Discord Developer Portal Libraries: discord.py pynacl youtube_dl yt-dlp ytsearch-python ffmpeg Step-by-Step Guide: Install Python:

Make sure Python is installed and added to the PATH. Verify installation using: python --version Clone or Download the Bot Code:

Place the bot code in a folder of your choice. Open the Project in PyCharm:

Open PyCharm and load the folder containing your bot’s script. Set Up a Virtual Environment (Optional but recommended):

PyCharm will prompt to set up a virtual environment when you open the project. If not, go to File > Settings > Project > Python Interpreter and create one. Install Required Packages:

Open the terminal in PyCharm and run: bash Copy code pip install discord.py pynacl youtube_dl yt-dlp ytsearch-python Also, install FFmpeg from here and add it to your system PATH.

Add Bot Token:

In your bot’s script, replace <YOUR_BOT_TOKEN> with your Discord bot token. Run the Bot:

In PyCharm, simply right-click on the script and select Run. Invite the Bot to a Server:

Create an invite URL for the bot and add it to your server through the Discord Developer Portal.

About

MusicBot is a powerful and user-friendly Discord bot designed to bring your server to life with music directly from YouTube. Whether you want to listen to your favorite tracks, host a music night, or create the perfect background tunes for your community, MusicBot has you covered.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages