SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
697 stars 143 forks source link

Fix reply mention behaviour on message edit #347

Closed object-Object closed 2 years ago

object-Object commented 2 years ago

This fixes a bug where if you sent a message with a reply with the mention disabled, editing the message caused the reply mention to become enabled.

SinisterRectus commented 2 years ago

It's annoying that when you include allowed_mentions then the default is to not mention anything. This technically changes the expected behavior. But I think this is going to have to be the best fix for this.

SinisterRectus commented 2 years ago

Thanks.