mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
[cmd](lyrics) reflect backend change
This commit is contained in:
parent
f451aed8fb
commit
b847ea923f
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ module.exports = {
|
|||
let search = await lyrics(context, args.query)
|
||||
search = search.response
|
||||
|
||||
if(search.body.status == 2) return editOrReply(context, {embeds:[createEmbed("error", context, search.body.message)]})
|
||||
// Split lyrics into field-sizes chunks
|
||||
let chunks = search.body.lyrics.split(/\[(.*?)\]/) // should give us every chunk
|
||||
let fields = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue