Update package name

This commit is contained in:
Androz2091 2020-01-11 20:05:34 +01:00
parent bde70b92aa
commit 65c91784bf
3 changed files with 9 additions and 7 deletions

2
.npmignore Normal file
View file

@ -0,0 +1,2 @@
docs
node_modules/

View file

@ -1,12 +1,12 @@
# Discord Music
# Discord Player
[![downloadsBadge](https://img.shields.io/npm/dt/discord-music?style=for-the-badge)](https://npmjs.com/discord-music)
[![versionBadge](https://img.shields.io/npm/v/discord-music?style=for-the-badge)](https://npmjs.com/discord-music)
[![downloadsBadge](https://img.shields.io/npm/dt/discord-player?style=for-the-badge)](https://npmjs.com/discord-player)
[![versionBadge](https://img.shields.io/npm/v/discord-player?style=for-the-badge)](https://npmjs.com/discord-player)
[![patreonBadge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.herokuapp.com%2FAndroz2091%2Fpledges&style=for-the-badge)](https://patreon.com/Androz2091)
**Note**: this module uses recent discordjs features and requires discord.js version 12.
Discord Music is a powerful [Node.js](https://nodejs.org) module that allows you to easily implement music commands. Everything is customizable, and everything is done to simplify your work without limiting you!
Discord Player is a powerful [Node.js](https://nodejs.org) module that allows you to easily implement music commands. Everything is customizable, and everything is done to simplify your work without limiting you!
- [Installation](#installation)
- [Player](#player)
@ -24,7 +24,7 @@ Discord Music is a powerful [Node.js](https://nodejs.org) module that allows you
## Installation
```sh
npm install --save discord-music
npm install --save discord-player
```
Install **opusscript** or **node-opus**:
@ -44,7 +44,7 @@ settings = {
token: "Your Discord Token"
};
const { Player } = require('discord-music');
const { Player } = require('discord-player');
const player = new Player(client, "YOUTUBE API KEY", {
leaveOnEnd: true,
leaveOnStop: true

View file

@ -1,5 +1,5 @@
{
"name": "discord-music",
"name": "discord-player",
"version": "1.0.0",
"description": "Complete framework to facilitate music commands using discord.js v12",
"main": "index.js",