#message to channel from dm

1 messages · Page 1 of 1 (latest)

remote crescent
#

show code

quick wolf
remote crescent
#

for what you trying to make work

quick wolf
#

interaction.client.channels.cache.get('channelId').send()

remote crescent
#

whole code, what does that supposed to say to me

quick wolf
#
collector3.on("end", (collected9) => {
    console.log(exampleEmbed);
interaction.client.channels.cache.get("785525296035659777").send({ embeds: [exampleEmbed] });
});
remote crescent
#

what what is this

#

is it whole code for that 'command' or whatever?

quick wolf
#

not sending all that

remote crescent
#

then i'm not helping you out, i can't identify the problem if i don't see what may be causing it

quick wolf
remote crescent
#

i want you to explain me again what are you trying to achieve, how do you want to achieve it and then we will talk about code

quick wolf
remote crescent
#

and prompt should say what?

#

btw., interaction.user.send() is the function to send dm

quick wolf
quick wolf
remote crescent
#

Intents?

quick wolf
#

all

remote crescent
#

awaited it?

quick wolf
#

yep

remote crescent
#

hm, try fetching user then sending message

#

that's why it's not working

worthy horizonBOT
remote crescent
#

it should be Member but whatever

quick wolf
remote crescent
#

yeah, because you are fetching member.

worthy horizonBOT
remote crescent
#

ignore that

#

working? @quick wolf

quick wolf
#

or it was wrong one idk