fix: a few type erros

This commit is contained in:
TrèsAbhi committed 2023-10-11 19:04:58 -05:00
1 parent 59bae96c1b
commit 0db96795b3
7 files changed
+8 -19

No files matched your search

@@ -34,6 +34,8 @@ export default async function normalizeInteractionReturnable(
} else if (item instanceof AttachmentBuilder) {
if (!reply.files) reply.files = [];
reply.files.push(item);
} else if (item === null) {
return;
} else {
const image = await jsxToPng(item);
if (!reply.files) reply.files = [];