Skip to content

With a wide range of commands, it enables seamless control over the music playing experience. From playing songs using keywords or URLs to toggling playback filters like nightcore and slowed, managing the queue, adjusting volume, and seeking to specific positions within tracks.

License

Notifications You must be signed in to change notification settings

AnasGrzor/Z4-Music-Discord-Music-Bot

Repository files navigation

Z4 Music

This Discord bot allows users to play music in voice channels using the Wavelink library.

Note: Download the latest lavalink from the lavalink repo.

Installation

  1. Clone this repository:

    git clone https://github.com/AnasGrzor/Z4-Music-Discord-Music-Bot.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Obtain a bot token from the Discord Developer Portal.

  4. Configure the bot token and other settings in the code.

  5. Run the bot:

    python bot.py

Usage

  • Use !play <query> to play a song with the given query.
  • Use !skip to skip the current song.
  • Use !seek <seconds> to seek to a specific position in the currently playing track.
  • Use !nightcore to set the filter to a nightcore style.
  • Use !slowed to set the filter to a slowed style.
  • Use rmfilter to remove all filters.
  • Use !toggle, !pause, or !resume to pause or resume the player.
  • Use !volume <value> to change the volume of the player.
  • Use !queue to display the current queue.
  • Use !shuffle to shuffle the queue.
  • Use !remove <song_name> to remove a song from the queue by name.
  • Use !clear to clear the queue.
  • Use !loop to toggle looping the current song.
  • Use !disconnect or !dc to disconnect the player.

Configuration

  • Set the bot token in the main() function.
  • Configure other settings in the code as needed.

Contributing

Contributions are welcome! Feel free to submit bug reports or pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

With a wide range of commands, it enables seamless control over the music playing experience. From playing songs using keywords or URLs to toggling playback filters like nightcore and slowed, managing the queue, adjusting volume, and seeking to specific positions within tracks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages