From dafbafeec6a29fb555d5421718a8060fb5a191d4 Mon Sep 17 00:00:00 2001 From: Aster Fialla Date: Sun, 15 Feb 2026 16:48:51 -0500 Subject: [PATCH] if parsing member command returns null, don't send anything. --- src/commands.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands.js b/src/commands.js index f64bd54..d2b0126 100644 --- a/src/commands.js +++ b/src/commands.js @@ -16,7 +16,10 @@ cmds.set('member', { if (typeof reply === 'string') { return await message.reply(reply); } - await message.reply({embeds: [reply.toJSON()]}) + else if (reply instanceof EmbedBuilder) { + await message.reply({embeds: [reply.toJSON()]}) + } + } })