mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-12 08:03:09 -04:00
[fix] attachments on the command message
This commit is contained in:
parent
0c4e48bd39
commit
bf7378a1f7
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ async function getRecentMedia(context, limit) {
|
|||
if (!context.message.channel) {
|
||||
return undefined;
|
||||
} else if (context.message.attachments.length > 0) {
|
||||
return context.message.attachments.first();
|
||||
return [context.message.attachments.first()]
|
||||
}
|
||||
|
||||
let messages = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue