From cb2ae4d4f26f80d55ce1ec6a75f61861997e1817 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 8 May 2023 07:12:08 +0200 Subject: [PATCH] Fix always false if statement --- src/execution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/execution.ts b/src/execution.ts index 3b4c3f1..ca0f303 100644 --- a/src/execution.ts +++ b/src/execution.ts @@ -138,7 +138,7 @@ async function executeFromQueue(channel: string) { const answerContent = answer.data.choices[0].message?.content; - if (answerContent != undefined && answerContent != "") { + if (answerContent != undefined || answerContent != "") { const response = message.reply({ content: answerContent, allowedMentions: {