jsdoc example
This commit is contained in:
parent
c43f31290e
commit
66c3103f18
1 changed files with 2 additions and 0 deletions
|
@ -856,6 +856,8 @@ export class Player extends EventEmitter {
|
|||
/**
|
||||
* Gets lyrics of a song
|
||||
* @param query Search query
|
||||
* @example const lyrics = await player.lyrics("alan walker faded")
|
||||
* message.channel.send(lyrics.lyrics);
|
||||
*/
|
||||
async lyrics(query: string) {
|
||||
const data = await DP_EXTRACTORS.Lyrics(query);
|
||||
|
|
Loading…
Reference in a new issue