We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da56889 commit c994911Copy full SHA for c994911
src/interactions/commands/message/addMessage.ts
@@ -88,7 +88,7 @@ export default async function handleAddMessageCommand(
88
let embedQuery:
89
| Prisma.MessageEmbedCreateNestedOneWithoutMessageInput
90
| undefined = undefined;
91
- if (embed !== null) {
+ if (embed !== null && embed !== undefined) {
92
let fieldQuery:
93
| Prisma.EmbedFieldCreateNestedManyWithoutEmbedInput
94
| undefined;
0 commit comments