From 758db4cfb243b161d160e1da7ee75674032bc85b Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Thu, 8 Apr 2021 15:29:31 +0530 Subject: [PATCH] fix --- src/structures/slash.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/structures/slash.ts b/src/structures/slash.ts index e8c59f4..c222814 100644 --- a/src/structures/slash.ts +++ b/src/structures/slash.ts @@ -177,8 +177,7 @@ export class Interaction extends SnowflakeBase { type: data.type ?? InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE, data: data.type === undefined || - data.type === InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE || - data.type === InteractionResponseType.CHANNEL_MESSAGE + data.type === InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE ? { content: data.content ?? '', embeds: data.embeds,