mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
[cmd] audio
This commit is contained in:
parent
851bd2f75d
commit
a68b840af7
2 changed files with 5 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue