[cmd] audio

This commit is contained in:
derpystuff 2022-05-25 23:47:58 +02:00
parent 851bd2f75d
commit a68b840af7
2 changed files with 5 additions and 9 deletions

View file

@ -75,6 +75,9 @@ async function getRecentVideo(context, limit) {
message.embeds.toArray()[0].video
) {
attachments.push(message.embeds.toArray()[0].video)
} else if (message.attachments.first() &&
message.attachments.first().contentType.includes("video")){
attachments.push(message.attachments.first())
}
}
return attachments;