Merge branch 'develop' of https://github.com/Androz2091/discord-player into develop
This commit is contained in:
commit
2b83d65b0e
3 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ We are using **[Prettier](https://prettier.io)** to format the code.
|
||||||
## Some Rules
|
## Some Rules
|
||||||
- Use `camelCase` for `Function names`, `Variables`, etc. and `PascalCase` for `Class name`
|
- Use `camelCase` for `Function names`, `Variables`, etc. and `PascalCase` for `Class name`
|
||||||
- Do not make unused variables/imports
|
- Do not make unused variables/imports
|
||||||
- Don't forget to write `JSDOC` for each properties and methods
|
- Don't forget to write `JSDOC` for each property and method
|
||||||
- Use English language
|
- Use English language
|
||||||
|
|
||||||
# Pull Requests
|
# Pull Requests
|
||||||
|
|
|
@ -35,7 +35,7 @@ const queue = player.createQueue(message.guild, {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
The metadata `message` will always be available in every events emitted for that specific `Queue`. You can access it via `queue.metadata`:
|
The metadata `message` will always be available in every event emitted for that specific `Queue`. You can access it via `queue.metadata`:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
player.on("trackStart", (queue, track) => {
|
player.on("trackStart", (queue, track) => {
|
||||||
|
|
|
@ -516,7 +516,7 @@ class Player extends EventEmitter<PlayerEvents> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolves qeuue
|
* Resolves queue
|
||||||
* @param {GuildResolvable|Queue} queueLike Queue like object
|
* @param {GuildResolvable|Queue} queueLike Queue like object
|
||||||
* @returns {Queue}
|
* @returns {Queue}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue