melhore isso. Não é para alterar os emojis dos botões especiifcamente, tipo: <:lb12:1113900537063145612>

if (interaction.customId === `abrirTicketMenu-${t.ID}`) {
    const tickets = createdTickets_DB.all();

    for (const ticket of tickets) {
        const ticketInfo = ticket.data;
        const abertoPorId = ticketInfo.abertoPorId;

        if (abertoPorId === interaction.user.id) {
            return interaction.reply({
                content:
                    "**❌ | Você já possui um ticket aberto, feche-o antes de abrir outro!**",
                ephemeral: true,
            });
        }
    }

    const modalAtivo =
        ticketsBotao.get(`${t.ID}.configsAv.SistemaModal`) ===
        "Ligado";
    const protocoloAtivo =
        ticketsBotao.get(`${t.ID}.configsAv.SistemaProtocolo`) ===
        "Ligado";

    if (!modalAtivo && !protocoloAtivo) {
        const channelName = `🎫・${interaction.user.username}`;

        return interaction.guild.channels
            .create({
                name: channelName,
                topic: `<a:Lost82:1097620271818612766> ID do Membro · ${interaction.user.id} · <:InfoLost7:1106003706467590175> Ticket Assumido · `,
                parent: interaction.channel.parent,
                permissionOverwrites: [
                    {
                        id: interaction.guild.id,
                        deny: [
                            PermissionsBitField.Flags.ViewChannel,
                        ],
                    },
                    {
                        id: interaction.user.id,
                        allow: [
                            PermissionsBitField.Flags.ViewChannel,
                            PermissionsBitField.Flags.SendMessages,
                            PermissionsBitField.Flags.AttachFiles,
                            PermissionsBitField.Flags
                                .ReadMessageHistory,
                        ],
                    },
                ],
            })
            .then(async (c) => {
                createdTickets_DB.set(
                    `${c.id}.abertoPor`,
                    interaction.user.username
                );
                createdTickets_DB.set(
                    `${c.id}.abertoPor`,
                    interaction.user.username
                );
                createdTickets_DB.set(
                    `${c.id}.abertoPorId`,
                    interaction.user.id
                );
                createdTickets_DB.set(`${c.id}.assumido`, "Ningúem");
                createdTickets_DB.set(`${c.id}.ticketId`, uuid);
                createdTickets_DB.set(`${c.id}.channelId`, c.id);

                await interaction
                    .reply({
                        embeds: [
                            new EmbedBuilder().setDescription(
                                `**_✅ | <@${interaction.user.id}>, seu TICKET foi aberto, use o botão abaixo para encontra-lo_**`
                            ),
                        ],
                        components: [
                            new ActionRowBuilder().addComponents(
                                new ButtonBuilder()
                                    .setURL(
                                        `https://discord.com/channels/${interaction.guild.id}/${c.id}`
                                    )
                                    .setEmoji(
                                        "<:email:1137104275953156146>"
                                    )
                                    .setLabel("Ir para o Ticket")
                                    .setStyle(ButtonStyle.Link)
                            ),
                        ],
                        ephemeral: true,
                    })
                    .then(() => {
                        const functionsConfig = ticketsBotao.get(
                            `${t.ID}.functions`
                        );

                        const buttons = [
                            new ButtonBuilder()
                                .setCustomId("sairTicket")
                                .setEmoji("<:lb7:1113897476651499620>")
                                .setLabel("Sair do Canal")
                                .setStyle(ButtonStyle.Primary),
                            new ButtonBuilder()
                                .setCustomId("painelStaff")
                                .setEmoji("<:lb12:1113900537063145612>")
                                .setLabel("Painel Staff")
                                .setStyle(ButtonStyle.Secondary),
                            new ButtonBuilder()
                                .setCustomId("painelMembro")
                                .setEmoji("<:InfoLost7:1106003706467590175>")
                                .setLabel("Painel Membro")
                                .setStyle(ButtonStyle.Secondary),
                        ];

                        if (
                            functionsConfig.Assumir === "Desligado"
                        ) {
                            buttons.push(
                                new ButtonBuilder()
                                    .setCustomId("assumirTicket")
                                    .setEmoji(
                                        "<:verifedLost:1080325994428248174>"
                                    )
                                    .setLabel("Assumir Ticket")
                                    .setStyle(ButtonStyle.Secondary)
                                    .setDisabled(true)
                            );
                        } else if (
                            functionsConfig.Assumir === "Ligado"
                        ) {
                            buttons.push(
                                new ButtonBuilder()
                                    .setCustomId("assumirTicket")
                                    .setEmoji(
                                        "<:verifedLost:1080325994428248174>"
                                    )
                                    .setLabel("Assumir Ticket")
                                    .setStyle(ButtonStyle.Secondary)
                                    .setDisabled(false)
                            );
                        }

                        buttons.push(
                            new ButtonBuilder()
                                .setCustomId("finalizarTicket")
                                .setEmoji(
                                    "<:LixoLost7:1106015127184085052>"
                                )
                                .setLabel("Finalizar Ticket")
                                .setStyle(ButtonStyle.Danger)
                        );

                        const ticket =
                            interaction.guild.channels.cache.get(
                                c.id
                            );

                        ticket.send({
                            components: [
                                new ActionRowBuilder().addComponents(
                                    buttons
                                ),
                            ],
                            embeds: [ticketChannelEmbed],
                            content: `<@${interaction.user.id}>`,
                        });
                    });
            });
    }

    if (modalAtivo && !protocoloAtivo) {
        const modal = new ModalBuilder()
            .setTitle("Descreva o motivo do contato:")
            .setCustomId(`motivoModal-${t.ID}`);

        const motivo = new TextInputBuilder()
            .setCustomId("motivo")
            .setLabel("MOTIVO DO CONTATO:")
            .setPlaceholder("📃 Escreva aqui")
            .setStyle(TextInputStyle.Short)
            .setRequired(true);

        const row = new ActionRowBuilder().addComponents(motivo);
        modal.addComponents(row);
        interaction.showModal(modal);
    } else if (!modalAtivo && protocoloAtivo) {
        const uuid = generateUUID();

        const channelName = `🎫・${interaction.user.username}-${uuid}`;

        await interaction.guild.channels
            .create({
                name: channelName,
                topic: `<a:Lost82:1097620271818612766> ID do Membro · ${interaction.user.id} · <:TermosLost7:1098144396551147561> TicketID · ${uuid} · <:InfoLost7:1106003706467590175> Ticket Assumido · `,
                parent: interaction.channel.parent,
                permissionOverwrites: [
                    {
                        id: interaction.guild.id,
                        deny: [
                            PermissionsBitField.Flags.ViewChannel,
                        ],
                    },
                    {
                        id: interaction.user.id,
                        allow: [
                            PermissionsBitField.Flags.ViewChannel,
                            PermissionsBitField.Flags.SendMessages,
                            PermissionsBitField.Flags.AttachFiles,
                            PermissionsBitField.Flags
                                .ReadMessageHistory,
                        ],
                    },
                ],
            })
            .then(async (c) => {
                createdTickets_DB.set(
                    `${c.id}.abertoPor`,
                    interaction.user.username
                );
                createdTickets_DB.set(
                    `${c.id}.abertoPor`,
                    interaction.user.username
                );
                createdTickets_DB.set(
                    `${c.id}.abertoPorId`,
                    interaction.user.id
                );
                createdTickets_DB.set(`${c.id}.assumido`, "Ningúem");
                createdTickets_DB.set(`${c.id}.ticketId`, uuid);
                createdTickets_DB.set(`${c.id}.channelId`, c.id);

                await interaction
                    .reply({
                        embeds: [
                            new EmbedBuilder().setDescription(
                                `**_✅ | <@${interaction.user.id}>, seu TICKET foi aberto, use o botão abaixo para encontra-lo_**`
                            ),
                        ],
                        components: [
                            new ActionRowBuilder().addComponents(
                                new ButtonBuilder()
                                    .setURL(
                                        `https://discord.com/channels/${interaction.guild.id}/${c.id}`
                                    )
                                    .setEmoji(
                                        "<:email:1137104275953156146>"
                                    )
                                    .setLabel("Ir para o Ticket")
                                    .setStyle(ButtonStyle.Link)
                            ),
                        ],
                        ephemeral: true,
                    })
                    .then(() => {
                        const functionsConfig = ticketsBotao.get(
                            `${t.ID}.functions`
                        );

                        const buttons = [
                            new ButtonBuilder()
                                .setCustomId("sairTicket")
                                .setEmoji("<:lb7:1113897476651499620>")
                                .setLabel("Sair do Canal")
                                .setStyle(ButtonStyle.Primary),
                            new ButtonBuilder()
                                .setCustomId("painelStaff")
                                .setEmoji("<:lb12:1113900537063145612>")
                                .setLabel("Painel Staff")
                                .setStyle(ButtonStyle.Secondary),
                            new ButtonBuilder()
                                .setCustomId("painelMembro")
                                .setEmoji("<:InfoLost7:1106003706467590175>")
                                .setLabel("Painel Membro")
                                .setStyle(ButtonStyle.Secondary),
                        ];

                        if (
                            functionsConfig.Assumir === "Desligado"
                        ) {
                            buttons.push(
                                new ButtonBuilder()
                                    .setCustomId("assumirTicket")
                                    .setEmoji(
                                        "<:verifedLost:1080325994428248174>"
                                    )
                                    .setLabel("Assumir Ticket")
                                    .setStyle(ButtonStyle.Secondary)
                                    .setDisabled(true)
                            );
                        } else if (
                            functionsConfig.Assumir === "Ligado"
                        ) {
                            buttons.push(
                                new ButtonBuilder()
                                    .setCustomId("assumirTicket")
                                    .setEmoji(
                                        "<:verifedLost:1080325994428248174>"
                                    )
                                    .setLabel("Assumir Ticket")
                                    .setStyle(ButtonStyle.Secondary)
                                    .setDisabled(false)
                            );
                        }

                        buttons.push(
                            new ButtonBuilder()
                                .setCustomId("finalizarTicket")
                                .setEmoji(
                                    "<:LixoLost7:1106015127184085052>"
                                )
                                .setLabel("Finalizar Ticket")
                                .setStyle(ButtonStyle.Danger)
                        );

                        const ticket =
                            interaction.guild.channels.cache.get(
                                c.id
                            );

                        ticket.send({
                            components: [
                                new ActionRowBuilder().addComponents(
                                    buttons
                                ),
                            ],
                            embeds: [ticketChannelEmbed],
                            content: `<@${interaction.user.id}>`,
                        });
                    });
            });
    } else if (modalAtivo && protocoloAtivo) {
        const modal = new ModalBuilder()
            .setTitle("Descreva o motivo do contato:")
            .setCustomId(`motivoModal-${t.ID}`);

        const motivo = new TextInputBuilder()
            .setCustomId("motivo")
            .setLabel("MOTIVO DO CONTATO:")
            .setPlaceholder("📃 Escreva aqui")
            .setStyle(TextInputStyle.Short)
            .setRequired(true);

        const row = new ActionRowBuilder().addComponents(motivo);
        modal.addComponents(row);
        interaction.showModal(modal);
    } else {
        const uuid = generateUUID();

        const channelName = `🎫・${interaction.user.username}-${uuid}`;

        await interaction.guild.channels
            .create({
                name: channelName,
                topic: `<a:Lost82:1097620271818612766> ID do Membro · ${interaction.user.id} · <:TermosLost7:1098144396551147561> TicketID · ${uuid} · <:InfoLost7:1106003706467590175> Ticket Assumido · `,
                parent: interaction.channel.parent,
                permissionOverwrites: [
                    {
                        id: interaction.guild.id,
                        deny: [
                            PermissionsBitField.Flags.ViewChannel,
                        ],
                    },
                    {
                        id: interaction.user.id,
                        allow: [
                            PermissionsBitField.Flags.ViewChannel,
                            PermissionsBitField.Flags.SendMessages,
                            PermissionsBitField.Flags.AttachFiles,
                            PermissionsBitField.Flags
                                .ReadMessageHistory,
                        ],
                    },
                ],
            })
            .then(async (c) => {
                createdTickets_DB.set(
                    `${c.id}.abertoPor`,
                    interaction.user.username
                );
                createdTickets_DB.set(
                    `${c.id}.abertoPor`,
                    interaction.user.username
                );
                createdTickets_DB.set(
                    `${c.id}.abertoPorId`,
                    interaction.user.id
                );
                createdTickets_DB.set(`${c.id}.assumido`, "Ningúem");
                createdTickets_DB.set(`${c.id}.ticketId`, uuid);
                createdTickets_DB.set(`${c.id}.channelId`, c.id);

                await interaction
                    .reply({
                        embeds: [
                            new EmbedBuilder().setDescription(
                                `**_✅ | <@${interaction.user.id}>, seu TICKET foi aberto, use o botão abaixo para encontra-lo_**`
                            ),
                        ],
                        components: [
                            new ActionRowBuilder().addComponents(
                                new ButtonBuilder()
                                    .setURL(
                                        `https://discord.com/channels/${interaction.guild.id}/${c.id}`
                                    )
                                    .setEmoji(
                                        "<:email:1137104275953156146>"
                                    )
                                    .setLabel("Ir para o Ticket")
                                    .setStyle(ButtonStyle.Link)
                            ),
                        ],
                        ephemeral: true,
                    })
                    .then(() => {
                        const ticket =
                            interaction.guild.channels.cache.get(
                                c.id
                            );

                        const functionsConfig = ticketsBotao.get(
                            `${t.ID}.functions`
                        );

                        const buttons = [
                            new ButtonBuilder()
                                .setCustomId("sairTicket")
                                .setEmoji("<:lb7:1113897476651499620>")
                                .setLabel("Sair do Canal")
                                .setStyle(ButtonStyle.Primary),
                            new ButtonBuilder()
                                .setCustomId("painelStaff")
                                .setEmoji("<:lb12:1113900537063145612>")
                                .setLabel("Painel Staff")
                                .setStyle(ButtonStyle.Secondary),
                            new ButtonBuilder()
                                .setCustomId("painelMembro")
                                .setEmoji("<:InfoLost7:1106003706467590175>")
                                .setLabel("Painel Membro")
                                .setStyle(ButtonStyle.Secondary),
                        ];

                        if (
                            functionsConfig.Assumir === "Desligado"
                        ) {
                            buttons.push(
                                new ButtonBuilder()
                                    .setCustomId("assumirTicket")
                                    .setEmoji("<:verifedLost:1080325994428248174>")
                                    .setLabel("Assumir Ticket")
                                    .setStyle(ButtonStyle.Secondary)
                                    .setDisabled(true)
                            );
                        } else if (
                            functionsConfig.Assumir === "Ligado"
                        ) {
                            buttons.push(
                                new ButtonBuilder()
                                    .setCustomId("assumirTicket")
                                    .setEmoji("<:verifedLost:1080325994428248174>")
                                    .setLabel("Assumir Ticket")
                                    .setStyle(ButtonStyle.Secondary)
                                    .setDisabled(false)
                            );
                        }

                        buttons.push(
                            new ButtonBuilder()
                                .setCustomId("finalizarTicket")
                                .setEmoji(
                                    "<:LixoLost7:1106015127184085052>"
                                )
                                .setLabel("Finalizar Ticket")
                                .setStyle(ButtonStyle.Danger)
                        );

                        ticket.send({
                            components: [
                                new ActionRowBuilder().addComponents(
                                    buttons
                                ),
                            ],
                            embeds: [ticketChannelEmbed],
                            content: `<@${interaction.user.id}>`,
                        });
                    });
            });
    }
}