mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
add forward support to audio
This commit is contained in:
parent
7f5644799e
commit
b676182d86
2 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,7 @@ module.exports = {
|
|||
return editOrReply(context, createEmbed("error", context, "Unable to fetch message."))
|
||||
}
|
||||
let urls = msg.content.match(urlr)
|
||||
if(msg.messageSnapshots?.length >= 1) urls = msg.messageSnapshots.first().message.content.match(urlr);
|
||||
if (urls) {
|
||||
let songlink = await superagent.get(`https://api.song.link/v1-alpha.1/links`)
|
||||
.query({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue