discordgo
discordgo copied to clipboard
Support for null values
I have been looking into endpoints where null values would be needed for some states. Good example is #571. After trying some stuff I do think the best solution would be something like in #700.
This however would be breaking quite some functions if you'd add support for all cases. However I think it would be perfect for a V2 of this library. You can think of having NullString
, NullBool
etc.
If somebody knows something else please show.
I have made a PR (#744) to support the null values. This does not solve the issue of resetting a struct field, i.e. Embed
in MessageEdit
.