From 66c3103f18ef5664690e3aac585a4c24faff9e72 Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Sat, 10 Apr 2021 11:58:23 +0545 Subject: [PATCH] jsdoc example --- src/Player.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Player.ts b/src/Player.ts index 3cd809b..72bfd9d 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -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);