Hi, I'm actually developping my bot with discordJS. I'm trying to make an easy function for testing something :
- the user sends a command ( test )
- the bot asks the user ( in for example bots channels ) to send 1 or 2 in DMS.
- Depending on the answer ( 1,2) it will send a message in the channel (bots)
- if it's another thing, it will DM directely the user ( asking to change its choice )
The problem is that the bot can reads the message : "Message Sent by arimak1924 in 1 ( Where 1 is the msg.channel.type ). But the bot doesn't use my DM as it should.
I'll send some parts of my code that could be usefull if anyone knows how to do.