mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
fix: a few type erros
This commit is contained in:
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 = [];
|
||||
|
||||
Reference in new issue
Block a user