- Notifications
You must be signed in to change notification settings - Fork60
A self-hosted music discord bot, with detailed documentation and constantly upgrading features. Attached below is the documentation to deploy the bot. : )
License
amanjha8100/chords
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
On a mission to build the best Discord Music Bot
View Demo ·Report Bug ·Request Feature .Deploy Walkthrough
Table of Contents
Most of the Discord Music Bots are down. They got banned, unfortunately.
So we thought of making our own Discord Music Bot for our Discord Community.
To get a local copy up and running follow these simple steps.
You should have Python and FFmpeg installed in your system if not then don't worry the installation file will get you everything if you are using a windows machine
- Active internet connection through out installation (Must)
- Python3 (Must for Other Users)
- FFmpeg (Must for Other Users)
Download the installation file from thislink.
Right click on the downlaoded file and run it as administrator.
Create a Bot from the Discord Developer Portal and copy the Bot token. Create a
.env
file and paste the Token.TOKEN ="Your Token"
Invite the Bot to your server and run
python app.py
*Incase you are unable to install with above instructions then follow the Instructions for other users
Fork the project first
Clone this repo on your local machine
git clone https://github.com/amanjha8100/chords
In the project directory, install the packages using
pip install -r requirements.txt
Create a Bot from the Discord Developer Portal and copy the Bot token. Create a
.env
file and paste the Token.TOKEN ="Your Token"
Invite the Bot to your server and run
python app.py
Go to theDiscord Developer Portal to create your application and bot. You must give the following permissions:
- Server Members Intent ✔️
- Text Permissions:
- Send Messages ✔️
- Read Message History ✔️
_p : Plays the song with search keyword following the command_cp: Shows the currently playing song_pn : Moves the song to the top of the queue_pause : Pause the currently playing song_resume : Resume the currently playing song_q : Shows the music added in list/queue_qt : Shows the total time of music in the list/queue_s : Skips the currently playing music_r : removes song from queue at index given._l : Commands the bot to leave the voice channel_help : shows all the commands of the bot._rep : Repeats the current playing song_sleep : To set timer.
To run some of the commands, the user must have some specific roles. The following table illustrates the roles which are necessary for running specific commands. If a command is ticked for more than one role, then this means that both roles have the permission for running the command.
Command | DJ |
---|---|
play | |
playing | |
queue | |
clear | |
shuffle | |
skip | |
voteskip | |
leave | ✅ |
pn | ✅ |
pause | ✅ |
resume | ✅ |
remove | ✅ |
restart | ✅ |
queuetime | ✅ |
help |
See theopen issues for a list of proposed features (and known issues). Feel free to raise new issues.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Add your Changes (
git add .
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. SeeLICENSE
for more information.