Skip to content

Self made Discord Youtube/GD/Local music bot framework, easy to customize

License

Notifications You must be signed in to change notification settings

DanielBUBU/PD_maid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PD_maid 1.8.2 Stable is out!!

Downloads Release

Banner

Here are some showcases

  • Main GUI
    Main UI
  • Auto update
    Auto update
  • The GUI when too much songs in the YT playlist
    YTPL too much
  • How console logs looks like when loading
    logs

Why PD_Maid?

  • GUI
  • Free and easy to build
  • Open sauce and readable codes
  • Appendable commends
  • Self update launcher from github(Not in release version)
  • RPC functions
  • Support mutiple platforms(Windows/Linux/Android)
  • Support Youtube,GD,and local file
  • Safety access local files and cache list for other users
  • Cross server support,bring your music to another server using join and leave buttons
  • 3 loop modes
  • Information for different links

Comparison to other discord music bot

Capability PD_Maid yeecord MatchBox JMusicBot
Open sauce
GUI
Playing local file
Free 24/7 playing
Add custom functions, command, events
YTDLP support
Playing badapple in chat
Playing music syncly in different server
Linux, Android support doesn't fit doesn't fit

Apply bot

  • create a bot application here or simply follow the instruction here

    • Remember to change permission integer(use 8 or 4398046511095 is recommaded) of the invite link and turn on the intents
      biscuit
      biscuit

How to use

How to use-Protable Release(Easy)

  • Step-by-step video tutorial:
  1. Download rar and unzip
    • (for Linux only)there's a CLI script called sh downloadLatest.sh to download release binary
  2. Paste validated config file config.json in the folder
  3. Click pd_maid.exe or run using CLI

How to use-Sauce Code(Hard)

  1. install programs in the system
    • ffmpeg
      pkg install ffmpegfor Linux/Termux
    • Python 3.x
      pkg install pythonfor Linux/Termux
    • git
      pkg install gitfor Linux/Termux
    • Node.js LTS
      pkg install nodejs-ltsfor Linux/Termux
      on your system and add then into the system path if they don't add automatically(windows)
  2. create/edit config.json in root
    Format example can be found in config.example.json
    config.minExample.json only require bot token string
    • (Optional)YT_COOKIE can be found in any YT video with developer mode on
      F12->Network->Searchcookie->find latest one with 3 set-cookie below->
      double click, copy and paste all stuff like "YT_COOKIE":"HSID=xxx;SSID=xxx...__Secure-XXXXXXX=xxxx..."
      biscuit
    • (Optional)config below will create a child process for two guilds,no second child because the array is empty, and the parent will create another child to handle the rest of joined guilds
    "guildId": [
        ["421290789868666881","994034761020493888"],
        []
    ]
    
  3. install lost packages using npm i in cmd
    npm
  4. Click PD_Maid_link_start.bat (or just run using node . in cmd),PD_Maid_link_start_admin.bat will ask for admin permission
  5. Once it's ready, it will output a console log
    • YTDLP ECCESS error might appear in Linux/Termux,chmod a+x yt-dlpshould solve the problem
  6. You can modify or add events or commands easily now by using the format I used

Support/Bug report

Future

  • tag or auto reply picture function (it can be done in 5 mins using existing codes)
  • http server using node.js for web UI