bwmarrin / discordgo

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

update SelectMenuOption.Emoji to be a pointer, and omitted when empty #1477

Closed mpawlowski closed 10 months ago

mpawlowski commented 10 months ago

This change is similar to https://github.com/bwmarrin/discordgo/pull/1475 and related to https://github.com/bwmarrin/discordgo/issues/1474, where the Emoji field must be omitted entirely and not empty for SelectMenuOptions

mpawlowski commented 10 months ago

This was done 10 min earlier from another PR :)