Skip to content

Commit 034aed9

Browse files
committed
Note for myself
1 parent 9135ee6 commit 034aed9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

bot/src/main/kotlin/me/duncte123/skybot/commands/music/LyricsCommand.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ class LyricsCommand : MusicCommand() {
187187
}
188188
}
189189

190+
// TODO: enable genius on node
191+
/*private fun searchForLyrics(link: Link, q: String, cb: (EmbedBuilder?) -> Unit) {
192+
link.node.customJsonRequest(Lyrics::class.java) {
193+
it.path("v4/lyrics/search?source=genius&query=$q")
194+
}
195+
}*/
196+
190197
private fun buildLyricsEmbed(data: LyricInfo): EmbedBuilder {
191198
val builder = EmbedUtils.getDefaultEmbed()
192199
.setTitle("Lyrics for ${data.title}", data.url)

0 commit comments

Comments
 (0)