From f0912e1d03de90f4c54c38e67336e6d49e7afeaf Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Mon, 14 Sep 2026 10:01:54 -0700 Subject: [PATCH] move roles picker blurb below the embed card --- index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index ffff0b8..682d6d2 100644 --- a/index.js +++ b/index.js @@ -1532,14 +1532,14 @@ async function handleRoles(message) { const embed = new EmbedBuilder() .setTitle(i === 0 ? "Game roles" : "Game roles (continued)") .setDescription(chunks[i]); - const payload = { embeds: [embed] }; - if (i === chunks.length - 1 && picker.components.length > 0) { - payload.components = picker.components; - payload.content = picker.overflow - ? "Use the dropdown below to add yourself to a role (showing the first " + ROLE_PICKER_MAX + " alphabetically - use !role GAME for any others):" - : "Click on a button below to add yourself to a role:"; - } - await message.reply(payload); + await message.reply({ embeds: [embed] }); + } + + if (picker.components.length > 0) { + const content = picker.overflow + ? "Use the dropdown below to add yourself to a role (showing the first " + ROLE_PICKER_MAX + " alphabetically - use !role GAME for any others):" + : "Click on a button below to add yourself to a role:"; + await message.reply({ content: content, components: picker.components }); } }