We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9135ee6 commit 034aed9Copy full SHA for 034aed9
1 file changed
bot/src/main/kotlin/me/duncte123/skybot/commands/music/LyricsCommand.kt
@@ -187,6 +187,13 @@ class LyricsCommand : MusicCommand() {
187
}
188
189
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
+
197
private fun buildLyricsEmbed(data: LyricInfo): EmbedBuilder {
198
val builder = EmbedUtils.getDefaultEmbed()
199
.setTitle("Lyrics for ${data.title}", data.url)
0 commit comments