#message to channel from dm
1 messages · Page 1 of 1 (latest)
for fetching channel?
for what you trying to make work
interaction.client.channels.cache.get('channelId').send()
whole code, what does that supposed to say to me
sure
collector3.on("end", (collected9) => {
console.log(exampleEmbed);
interaction.client.channels.cache.get("785525296035659777").send({ embeds: [exampleEmbed] });
});
the command is over 150 lines..
not sending all that
then i'm not helping you out, i can't identify the problem if i don't see what may be causing it
do you want me to send the bulk of it
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
I am trying to send a suggestion to the suggestions channel, the previous version was when a user did /suggest in the channel and the prompt showed there, i am updating so it shows in DM, but the message is not sending.
and prompt should say what?
btw., interaction.user.send() is the function to send dm
please reply with title of suggestion, then description
I know, ive made it before but for some reason it isn't working with this code
Intents?
all
awaited it?
yep
<:_:874569335308431382> GuildMember#send()
Sends a message to this channel.
channel? 
it should be Member but whatever
i just tested it with other command similar on same bot and code and it works, interaction.client.channels.cache.get("914963796316016640").send
yeah, because you are fetching member.
<:_:862626783890636830> discordjs.guide results:
• Additional Information: Changes and deletions - User
• Popular Topics: Who kicked a user?
channel id updated even though it was same channel
or it was wrong one idk