You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Beginner-Friendly**: Designed with simplicity in mind, making it easy for users of all skill levels to understand and use.
38
-
-**Quick Setup**: Get the bot up and running swiftly with straightforward installation instructions and minimal configuration requirements.
39
-
-**Versatile Commands**: A comprehensive range of commands to cater to various music playback needs, ensuring an enjoyable listening experience for all users.
40
-
-**Audio Filters**: Customize your listening experience with 25 FFmpeg filters, 18 Equalizer presets, and 10 Biquad filters.
41
-
-**Multi-Guild Support**: Effortlessly manage the bot across multiple Discord guilds, providing flexibility for diverse communities.
42
-
-**Various Sources**: Play music from a wide range of sources, including YouTube, Spotify, SoundCloud, Apple Music, Reverbnation, Deezer, Tidal, and more.
43
-
-**Slash Commands**: Take advantage of slash commands for seamless interaction with the bot, enhancing user experience and accessibility.
44
-
45
36
## Disclaimer
46
37
47
-
This project is intended for educational and entertainment purposes only. It is not designed to encourage or facilitate any form of unfair usage. If you represent a supported streaming platform and have concerns about the bot's functionality, please reach out to us via GitHub Discussions or our support channels for a constructive dialogue.
48
-
49
-
## Installation
50
-
51
-
### Before You Start
52
-
53
-
Before diving into the setup process, ensure you have the following prerequisites:
54
-
55
-
-**Discord Token** A Discord application with a bot token. You can create one by following the [Discord Developer Portal](https://discord.com/developers/applications) guide.
56
-
57
-
-**Node.js**: Version 20 or higher is required. If you haven't already installed Node.js, you can download it from the [official website](https://nodejs.org/en/download/).
58
-
-**NPM**: A package manager is required. NPM comes bundled with Node.js, so no separate installation is required.
59
-
-**FFmpeg or Avconv**: Ensure you have FFmpeg or Avconv installed for media transcoding. You can download (recommended) FFmpeg from the [official website](https://ffmpeg.org/download.html) or install it via npm `npm i ffmpeg-static`.
60
-
61
-
### Config
62
-
63
-
To configure the Discord Player Bot, you'll need to set up environment variables in a `.env` file. Here's how to do it:
64
-
65
-
1.**Create `.env` File**: In the root directory of the cloned repository, create a new file named `.env`.
66
-
67
-
2.**Use `.env.sample` as Template**: Open the `.env.sample` file provided in the repository. This file contains a template with placeholders for environment variables.
68
-
69
-
3.**Fill in Environment Variables**: Replace the placeholder values in the `.env.sample` file with your actual values. Refer to the comments in the file for guidance on each variable.
70
-
71
-
4.**Save as `.env`**: After filling in the environment variables, save the file as `.env` in the same directory. This file will be used by the bot to load configuration during runtime.
72
-
73
-
5.**Review Configuration**: Double-check the configuration in the `.env` file to ensure that all necessary variables are properly set.
74
-
75
-
By following these steps and customizing the `.env` file with your specific configuration, you can effectively set up the Discord Player Bot according to your requirements.
76
-
77
-
### Local Installation
38
+
This project is not affiliated with Discord or any streaming platforms. It is intended for educational and entertainment purposes only. It is not designed to encourage or facilitate any form of unfair usage. If you represent a supported streaming platform and have concerns about the bot's functionality, please reach out to us via GitHub Discussions or our support channels for a constructive dialogue.
78
39
79
-
1.**Fill the `.env` File**: Ensure that you have filled out the necessary environment variables in the `.env` file as described above.
80
-
81
-
2.**Install Dependencies**: Install the required dependencies by running the following command in the project directory:
82
-
83
-
```bash
84
-
npm install
85
-
```
86
-
87
-
3.**Register Slash Commands**: If you are using this bot for the first time or have added new commands, you need to register the slash commands with Discord. Run the following command:
88
-
89
-
```bash
90
-
npm run register
91
-
```
92
-
93
-
This will register all the slash commands defined in your project with Discord. You should see a message indicating the number of commands registered.
94
-
95
-
4.**Run the Bot**: Start the bot by running:
96
-
97
-
```bash
98
-
npm start
99
-
```
100
-
101
-
This will launch the bot, and it will connect to Discord using the provided token.
102
-
103
-
### Docker Installation
104
-
105
-
If you prefer to use Docker for deploying the Discord Player Bot, follow these steps:
106
-
107
-
1.**Fill the `.env` File**: Ensure that you have filled out the necessary environment variables in the `.env` file as described above.
108
-
109
-
2.**Pull Docker Image**: Run the following command in terminal:
This command will pull the latest image of discord-player-bot from docker hub.
116
-
117
-
3.**Run Docker Container**: Once the Docker image is pulled successfully, you can run the Docker container using the following command:
118
-
119
-
```bash
120
-
docker run --env-file .env lakhindarpal/discord-player-bot:latest
121
-
```
122
-
123
-
4.**Enjoy Dockerized Discord Player Bot**: Your Discord Player Bot should now be running in a Docker container, ready to provide music playback functionality in your Discord server.
40
+
## Features
124
41
125
-
By following these steps, you can deploy the Discord Player Bot using Docker, providing a convenient and isolated environment for running the bot.
42
+
-**Beginner-Friendly**: Easy to use for all skill levels.
43
+
-**Quick Setup**: Simple docker installation with minimal configuration.
44
+
-**Various Sources**: Stream music from YouTube, Spotify, SoundCloud, Apple Music, Deezer, Tidal, and more.
45
+
-**Audio Filters**: Customize audio with 25 FFmpeg filters, 18 equalizer presets, and 10 biquad filters.
46
+
-**Button Control**: Intuitive buttons for easy music control.
47
+
-**Slash Commands**: Seamless interaction through intuitive slash commands.
48
+
-**Versatile Commands**: Extensive range of music playback commands.
49
+
-**Multi-Guild Support**: Manage the bot across multiple Discord servers.
126
50
127
-
## Usage
51
+
## Previews
128
52
129
-
Once the bot is running and added to your Discord server, you can use the features it provides.
130
-
For detailed command usage and examples, please refer to the [Commands](./COMMANDS.md) documentation.
53
+

131
54
132
-
## Contributing
55
+
## Docs
133
56
134
-
1.[Fork the repo](https://github.com/LakhindarPal/discord-player-bot/fork)
135
-
2. Install the dependencies (`npm install`)
136
-
3. Create the feature branch (`git checkout -b my-cool-feature`)
137
-
4. Commit your changes (`git commit -m "Added a cool new feature!"`)
138
-
5. Push to your branch (`git push origin my-cool-feature`)
139
-
6.[Open a pull request](https://github.com/LakhindarPal/discord-player-bot/pulls)
0 commit comments