From 9c26a9f4b58482b78a1e1f8d62d3c1f23739384d Mon Sep 17 00:00:00 2001 From: Martin Merfort Date: Fri, 2 Aug 2024 15:53:02 +0200 Subject: [PATCH] Lint --- src/commands/NFD.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/NFD.ts b/src/commands/NFD.ts index 6b19db5..af4c1cb 100644 --- a/src/commands/NFD.ts +++ b/src/commands/NFD.ts @@ -1223,8 +1223,8 @@ class NFD { ) { const nfdName = nfd.name - const author = owner ? (owner.nickname ?? owner.user.username) : 'UNKNOWN' - const avatar = owner ? (owner.user.avatarURL() ?? undefined) : undefined + const author = owner ? owner.nickname ?? owner.user.username : 'UNKNOWN' + const avatar = owner ? owner.user.avatarURL() ?? undefined : undefined // Check for the existence of the image in the cache, if it doesn't exist, make it.