Update package name
This commit is contained in:
parent
bde70b92aa
commit
65c91784bf
3 changed files with 9 additions and 7 deletions
2
.npmignore
Normal file
2
.npmignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
docs
|
||||||
|
node_modules/
|
12
README.md
12
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)
|
[![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-music?style=for-the-badge)](https://npmjs.com/discord-music)
|
[![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)
|
[![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.
|
**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)
|
- [Installation](#installation)
|
||||||
- [Player](#player)
|
- [Player](#player)
|
||||||
|
@ -24,7 +24,7 @@ Discord Music is a powerful [Node.js](https://nodejs.org) module that allows you
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install --save discord-music
|
npm install --save discord-player
|
||||||
```
|
```
|
||||||
|
|
||||||
Install **opusscript** or **node-opus**:
|
Install **opusscript** or **node-opus**:
|
||||||
|
@ -44,7 +44,7 @@ settings = {
|
||||||
token: "Your Discord Token"
|
token: "Your Discord Token"
|
||||||
};
|
};
|
||||||
|
|
||||||
const { Player } = require('discord-music');
|
const { Player } = require('discord-player');
|
||||||
const player = new Player(client, "YOUTUBE API KEY", {
|
const player = new Player(client, "YOUTUBE API KEY", {
|
||||||
leaveOnEnd: true,
|
leaveOnEnd: true,
|
||||||
leaveOnStop: true
|
leaveOnStop: true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "discord-music",
|
"name": "discord-player",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Complete framework to facilitate music commands using discord.js v12",
|
"description": "Complete framework to facilitate music commands using discord.js v12",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
Loading…
Reference in a new issue