nuclearace / SwiftDiscord

Discord API Client for Swift
MIT License
120 stars 25 forks source link

Fix presence updates #64

Closed TellowKrinkle closed 6 years ago

TellowKrinkle commented 6 years ago

Looks like I broke them in my Encodable update... This fixes them, while also updating the api to match Discord's (with a slightly better description) This also changes lets to vars for the same reason as on DiscordEmbed, as long as you use a let for the DiscordPresenceUpdate itself, its fields will be immutable.