diff --git a/src/commands/fancypic.ts b/src/commands/fancypic.ts index f0bf8d4..773f99c 100644 --- a/src/commands/fancypic.ts +++ b/src/commands/fancypic.ts @@ -116,7 +116,7 @@ export class UserCommand extends Command { const responseJSON = (await imageGenResponse.json()) as GenerationResponse; const imageAttachment: AttachmentBuilder[] = []; - for (let i = 0; i < responseJSON.artifacts.length - 1; i++) { + for (let i = 0; i < responseJSON.artifacts.length; i++) { imageAttachment.push(new AttachmentBuilder(Buffer.from(responseJSON.artifacts[i].base64, 'base64'))); }