# discordbotmusicapi

> A discord.js bot music package.

Latest version **1.0.4** (published 2020-10-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install discordbotmusicapi
pnpm add discordbotmusicapi
yarn add discordbotmusicapi
bun add discordbotmusicapi
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-10-11 |
| First published | 2020-10-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=11.12.0 |
| Dependencies | 8 |
| Unpacked size | 85.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Absolute Development |
| Maintainers | cfedoradev |
| Keywords | music, player, wrapper, discord, discord.js, YouTube |

## Links

- npm: https://www.npmjs.com/package/discordbotmusicapi
- Repository: https://github.com/Absolute-Development/discord-music-core
- Homepage: https://github.com/Absolute-Development/discord-music-core#readme
- Issues: https://github.com/Absolute-Development/discord-music-core/issues
- npm.io page: https://npm.io/package/discordbotmusicapi

## Dependencies (8)

- [ffmpeg](https://npm.io/package/ffmpeg.md) 0.0.4
- [ts-node](https://npm.io/package/ts-node.md) ^8.3.0
- [node-opus](https://npm.io/package/node-opus.md) ^0.3.2
- [ytdl-core](https://npm.io/package/ytdl-core.md) ^0.29.7
- [discord.js](https://npm.io/package/discord.js.md) ^11.5.1
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.138
- [ffmpeg-static](https://npm.io/package/ffmpeg-static.md) ^2.6.0
- [simple-youtube-api](https://npm.io/package/simple-youtube-api.md) ^5.2.1

## Recent versions

- 1.0.4 (latest) — 2020-10-11

## README

## Usage:
#    const MusicAPI = require("discordmusicapi")
#    const MusicAPIPlayer = new MusicAPI("Youtube api key in here!")
#    MusicAPIPlayer.play(message, searchArray) // Searches for and add the    searched results to the queue.
#    MusicAPIPlayer.playTop(message, searchArray) // Searches for and add the searched results to the top of the queue.
#    MusicAPIPlayer.stop(message) // Stop the music, which includes clearing the queue.
#    MusicAPIPlayer.nowPlaying(message) // Display the music title for now playing.
#    MusicAPIPlayer.showQueue(message) // Displays the whole music queue.
#    MusicAPIPlayer.skip(message) // Skip the song that is now playing.
#    MusicAPIPlayer.remove(message) // Removes certain position of song in the song queue.
#    MusicAPIPlayer.pause(message) // Pauses the music queue.
#    MusicAPIPlayer.repeat(message) // Repeats the current song.
#    MusicAPIPlayer.loop(message) // Loops the whole queue.
#    MusicAPIPlayer.shuffle(message) // Shuffles the whole queue.
#    MusicAPIPlayer.volume(message, volume) // Sets the volume to the certain amount. Using negative values will show the volume that is using now instead.

---
_Source: https://npm.io/package/discordbotmusicapi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
