Skip to content

Crussader/DaPanda_MusicCog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

Music bot discord.py, made with lavalink

Getting started

Requirements

First you need to run a command to install discord.py,

pip install -U git+https://github.com/Rapptz/discord.py

To be able to play tracks you will need lavalink,

pip install -U git+https://github.com/Devoxin/Lavalink.py@dev

And for the menus you will need discord-ext-menus-views

pip install git+https://github.com/oliver-ni/discord-ext-menus-views

Installation

1 Add music.py and music-config.json to your cogs folder.
1 PLEASE NOTE: you need a bot session for the commands to work.
2 Enable debug event by adding enable_debug_events = True to your client settings.
3 Set your bot's ID in the music-config.json file.

Everything else is customizable from the json file.

Commands

  • play (Loads your input and adds it to the queue; If there is no playing track, then it will start playing)
  • disconnect (Disconnects the bot from your voice channel and clears the queue)
  • pause (Pauses playback)
  • resume (Resumes playback)
  • stop (Stops the currently playing track and removes all tracks from the queue)
  • clear (Removes all tracks from the queue)
  • skip (Skips to the next song)
  • shuffle (Randomizes the current order of tracks in the queue)
  • loop (Starts/Stops looping your currently playing track)
  • queue (Displays the current song queue)
  • current (Displays info about the current track in the queue)
  • restart (Restarts the current track in the queue)
  • seek (Skips to the specified timestamp in the currently playing track)
  • volume [volume] (Sets the player's volume; If there is not input, it will return the current value)
  • remove [end] (Removes all the tracks from the specified start through the specified end (if the end is not specified it will remove only one track))
  • move (Moves the specified song to the specified position)
  • nodes
  • change_node (owner only)

Features

  • Multi-Node support
  • Playlists support
  • Only the DJ or someone that have (manage_messages) permission can control the player
  • Buttons / Dropdowns

Need Help?

Discord Server

About

Credits are welcome :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages