1.2.1 • Published 4 years ago

@addict67/music-bot v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Music Bot

A simple Discord.js music bot with lot of features

NPM Package Version Build Status XO code style Dependencies Status Issues License

Commands

  • !!play (title|url): Add a song to the queue
  • !!playlist (url): Add a playlist to the queue
  • !!current: Display the currently played song
  • !!skip: Skip the currently played song
  • !!stop: Stop the currently played song and clear the queue
  • !!list: Display each song title in queue
  • !!remove (index): Remove from the queue the song at position index
  • !!volume (0-100): Change music volume
  • !!help: Display each commands and their description

Examples:

  • !!play https://www.youtube.com/watch?v=dQw4w9WgXcQ
  • !!volume 50

Installing

Make sure you have the latest version of FFMPEG installed!

  • npm install @addict67/music-bot

Quick Start

MusicBot's constructor takes an object with these properties:

  • discordToken: Your Discord bot token. Required to run
  • googleKey: Your Google API key. Required to run
  • prefix: Commands' prefix. Default is !!
// Imports module
const MusicBot = require('@addict67/music-bot');

// Creates bot object
const bot = new MusicBot({
    discordToken: 'xxx',
    googleKey: 'xxx',
    prefix: '!'
});

// Starts bot
bot.start();

Contributing

See the CONTRIBUTING.md file for details

License

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

1.2.1

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago