bwmarrin / discordgo

(Golang) Go bindings for Discord
BSD 3-Clause "New" or "Revised" License
5.05k stars 802 forks source link

Request to Add nonce Field to Message Struct #1577

Open 562589540 opened 1 day ago

562589540 commented 1 day ago

Hi, thank you for maintaining the discordgo library! I have a feature request regarding the Message struct. Currently, the nonce field, which is included in the raw Discord WebSocket message data, is not part of the Message struct in discordgo. This field is crucial for correlating messages, especially when identifying sent messages and their corresponding responses from Discord.

Would it be possible to add the nonce field to the Message struct in a future update? This would help developers who rely on this field for message tracking.

Thank you for your time and consideration!

Best regards.