andersfylling / disgord

Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
BSD 3-Clause "New" or "Revised" License
496 stars 70 forks source link

unexport read only types #347

Closed andersfylling closed 3 years ago

andersfylling commented 3 years ago

Types that are only used in the events, to update the local state, does not need to be exported. I believe this is fine for trivial types.

Example: MessageSticker

andersfylling commented 3 years ago

After reviewing; this doesn't seem to really improve anything.