#error with dm channel awaitmessage

14 messages · Page 1 of 1 (latest)

proven cliff
#
let dmChannel = interaction.user.dmChannel
if (!dmChannel) dmChannel = await interaction.user.createDM()

const filter = m => m.author.id === interaction.user.id && m.channel.type === 1
const collector = dmChannel.createMessageCollector({ filter, time: 600000 })
rocky hingeBOT
placid epoch
#

That's still not everything from #how-to-get-help

proven cliff
hollow fox
#

that looks like an error from an editReply

#

not something with the code you shared

#

and it's not the full error either

proven cliff
#

ill check

#

well i jump from component v2 to content only

#
await interaction.deferReply({ flags: [MessageFlags.Ephemeral] })

await interaction.editReply({ components: [container], flags: [MessageFlags.IsComponentsV2] })

to

await interaction.editReply({ content: '📩 Check your DMs to continue the upload' })
#

this is 3 replies only

hollow fox
#

you can't editReply with content if your message uses cv2

#

you can't reverse the cv2 state from a message, once it has the flag you can't unset it

#

and cv2 messages can't have a content, use a text display component