Closed hmm-what25 closed 1 year ago
Discordia was designed long before message replies were a thing in Discord, and as such, Message:reply()
did the next best thing: send a message in the same channel. Changing the behaviour now is a breaking change and most likely isn't something that's going to happen in 2.x. However, this should be "fixed" in 3.0.
This is what I found in the Message class, I don't know why you decided to make it so it just sends a message instead of replying to the user.
Welcome to Discord... where replies have been added only recently!
This was in Discordia well before Discord added their new reply system, so it was just a shortcut to Member.channel:send()
.
If you want to reply, which is called "reference message" in the Discord API, use the reference
field documented here https://github.com/SinisterRectus/Discordia/wiki/Managing-messages#reference.
Ok thanks.
Can you change message:reply to reply to the user instead of just sending the message to the current channel that the user's message is in?
This is what I found in the Message class, I don't know why you decided to make it so it just sends a message instead of replying to the user.