move roles picker blurb below the embed card

This commit is contained in:
Justin Oros
2026-09-14 10:01:54 -07:00
parent 5c2d69371a
commit f0912e1d03
+8 -8
View File
@@ -1532,14 +1532,14 @@ async function handleRoles(message) {
const embed = new EmbedBuilder() const embed = new EmbedBuilder()
.setTitle(i === 0 ? "Game roles" : "Game roles (continued)") .setTitle(i === 0 ? "Game roles" : "Game roles (continued)")
.setDescription(chunks[i]); .setDescription(chunks[i]);
const payload = { embeds: [embed] }; await message.reply({ embeds: [embed] });
if (i === chunks.length - 1 && picker.components.length > 0) { }
payload.components = picker.components;
payload.content = picker.overflow if (picker.components.length > 0) {
? "Use the dropdown below to add yourself to a role (showing the first " + ROLE_PICKER_MAX + " alphabetically - use !role GAME for any others):" const content = picker.overflow
: "Click on a button below to add yourself to a role:"; ? "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({ content: content, components: picker.components });
} }
} }