From 65c91784bfea39535244ca7e040eb516ae87563f Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Sat, 11 Jan 2020 20:05:34 +0100 Subject: [PATCH] Update package name --- .npmignore | 2 ++ README.md | 12 ++++++------ package.json | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..3a8f2aa --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +docs +node_modules/ diff --git a/README.md b/README.md index 16bf88a..c9cb416 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 3cf1988..842d2aa 100644 --- a/package.json +++ b/package.json @@ -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",