Fix always false if statement

This commit is contained in:
Wroclaw 2023-05-08 07:12:08 +02:00
parent 965e0a2602
commit cb2ae4d4f2

View file

@ -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: {