From 83414e817abf6bdcd0b17f84ba1781eca2849e7d Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 25 Sep 2023 22:38:08 +0500 Subject: [PATCH] fix minecraft error --- commands/General/minecraft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/General/minecraft.js b/commands/General/minecraft.js index 63ab30ac..30cb4e42 100644 --- a/commands/General/minecraft.js +++ b/commands/General/minecraft.js @@ -71,7 +71,7 @@ class Minecraft extends BaseCommand { const embed = new EmbedBuilder() .setAuthor({ - name: res.name, + name: res.name || "Unknown", }) .addFields([ {