jsdoc example

This commit is contained in:
Snowflake107 2021-04-10 11:58:23 +05:45
parent c43f31290e
commit 66c3103f18

View file

@ -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);