Quentin
DIAdiscord.js - Imagine a boo! 👻
•Created by Quentin on 7/31/2024 in #djs-questions
Button Premium SKU
5 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by Quentin on 7/31/2024 in #djs-questions
Custom Activities Feature
7 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by Quentin on 3/12/2024 in #djs-questions
Reason in Thread
5 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by Quentin on 3/5/2024 in #djs-questions
Help to send a message in another channel
Hello everyone,
I'm developing a Discord bot with Discord.js 14.14.1 and I'm encountering a problem. (use Typescript)
I want a user to be able to write a message in a channel other than the one they are in after interacting with my bot (command, button, etc.).
I've managed to retrieve the destination channel and ask the user for his message, but I don't know how to send it to the destination channel while keeping the author of the message (the user) and not the bot.
As soon as a message is sent correctly on the other channel, it's written by the bot and not by my user, is this possible? I'd like to do some sort of inter-channel synchronisation.
I've tried looking for solutions on the internet, but I haven't found a clear answer.
Would it be possible to help me solve this problem?
Thank you in advance for your help.
All the best,
6 replies