DMP allows you to send Audio and Video from multiple sources to your Discord Server.
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
Discord Media Player is a Discord Bot based on discord.js and discord.js-selfbot-v13. This bot uses the Discord-Video-Stream Library by dank074 to stream Video Files via FFMPEG to Discord directly.
This bot uses discord.js and discord.js-selfbot. Please be aware that this will likely be against the Discord ToS and may get your Selfbot Account banned! There are a few steps to setup before you can use this bot.
For this bot to work, we recommend you to use the latest Node.JS Version instead of any LTS.
- Latest Node.JS with NPM installed
- Having FFMPEG installed in case you want to send Video. (ffmpeg and ffprobe command must work in either CMD or Bash)
- You need to create a Discord Bot, store Client ID and Bot Token in
config.js
and invite the bot to your server. Discord Developer Portal - You need to create a Selfbot Token (for example by logging in to a Discord Acocunt from incognito browser and pasting following command in browser console) and store it in
config.js
window.webpackChunkdiscord_app.push([
[Math.random()],
{},
req => {
if (!req.c) return;
for (const m of Object.keys(req.c)
.map(x => req.c[x].exports)
.filter(x => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log('%cWorked!', 'font-size: 50px');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');
- Clone the repo
git clone https://github.com/Abruccii/Discord-Media-Player.git
- Install NPM packages
npm install
- Copy src/config.example.js to src/config.js and change the values
- Build the bot
npm run build
- Start the bot
npm run start
Run the bot directly with node or via pm2:
npm run yeet
- Search local folder for Mediafiles (like your local Plex/Jellyfin Library, rClone Cloud Mounts, RAIDrive Mounts and so on)
- Support Radio Streams
- by URL
- ny Name
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - 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. See LICENSE.txt
for more information.
Project Link: https://github.com/Abruccii/Discord-Media-Player