Skip to content

Commit

Permalink
Handle empty string as beta key
Browse files Browse the repository at this point in the history
  • Loading branch information
reiichi001 committed Jul 24, 2024
1 parent d239b01 commit 0a468e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0a468e6

Please sign in to comment.