The embed with Success happens and whole thing goes to plan but i.user doesnt get logged??? nor do i get dmed
const member = await i.guild?.members.fetch(i.user) const hasRole = member?.roles.cache.has(roles.premium) const embed = await addPost(job, i.user.id, hasRole || false, tempId) const dmEmbed = new InfoEmbed('Your Post has been sent in for approval', 'You will be notified when your post goes through.'); interaction.user.send({embeds: [dmEmbed]}); console.log(interaction.user) i.reply({content: 'Success!', ephemeral: true}) return collector.stop()
const member = await i.guild?.members.fetch(i.user) const hasRole = member?.roles.cache.has(roles.premium) const embed = await addPost(job, i.user.id, hasRole || false, tempId) const dmEmbed = new InfoEmbed('Your Post has been sent in for approval', 'You will be notified when your post goes through.'); interaction.user.send({embeds: [dmEmbed]}); console.log(interaction.user) i.reply({content: 'Success!', ephemeral: true}) return collector.stop()