From 0a468e6e69c981a41618e525db74da49afaa5dfe Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Wed, 24 Jul 2024 12:07:39 -0700 Subject: [PATCH] Handle empty string as beta key --- events/messageCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/messageCreate.js b/events/messageCreate.js index d58677e..505a9d7 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -584,7 +584,7 @@ module.exports = async (client, message) => { replymessage2 .addField( "Dalamud Testing", - data.BetaKey ?? "null", + data.BetaKey?.length > 1 ? data.BetaKey : "null", true ) .addField(