💄 Fix README style
This commit is contained in:
parent
33a92434c3
commit
1d9e312246
1 changed files with 7 additions and 3 deletions
|
@ -15,6 +15,7 @@ npm install --save discord-player
|
|||
```
|
||||
|
||||
Install **opusscript** or **@discordjs/opus**:
|
||||
|
||||
```sh
|
||||
npm install --save opusscript
|
||||
```
|
||||
|
@ -116,6 +117,7 @@ client.player.play(voiceChannel, songName, requestedBy);
|
|||
```
|
||||
|
||||
**Example**:
|
||||
|
||||
```js
|
||||
client.on('message', async (message) => {
|
||||
|
||||
|
@ -427,6 +429,7 @@ client.on('message', async (message) => {
|
|||
```
|
||||
|
||||
### Remove
|
||||
|
||||
To remove a song from the queue, use the `client.player.remove()` function.
|
||||
|
||||
**Usage:**
|
||||
|
@ -455,6 +458,7 @@ client.on('message', async (message) => {
|
|||
## Info Messages
|
||||
|
||||
You can send a message when the queue ends or when the song changes:
|
||||
|
||||
```js
|
||||
client.on('message', (message) => {
|
||||
|
||||
|
|
Loading…
Reference in a new issue