Fix always false if statement
This commit is contained in:
parent
965e0a2602
commit
cb2ae4d4f2
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue