Skip to content

Releases: EmbarkStudios/discord-sdk

Release 0.2.1

29 Sep 13:54
Compare
Choose a tag to compare

Added

  • PR#19 added an empty register_app implementation so that discord-sdk can be compiled for most targets, even if it doesn't actually function on them.

Release 0.2.0

29 Sep 11:30
Compare
Choose a tag to compare

Changed

  • PR#18 combined the voice_mute and voice_deafen RPCs into a single update_voice_settings RPC.

Fixed

  • PR#18 fixed the deserialization of activity timestamps in relationship update events.
  • PR#18 fixed the disconnect_lobby_voice method to actually send the correct RPC.

Release 0.1.4

16 Sep 07:56
Compare
Choose a tag to compare

Added

  • PR#17 added Voice support. Even though this functionality is going to be deprecated and removed by Discord, it was fairly easy to implement so there is little harm.

Release 0.1.3

23 Aug 06:33
Compare
Choose a tag to compare

Changed

  • PR#16 exposed the Snowflake type publicly, as there are cases where you might need to use it directly as it is the underlying type for most of the unique identifiers throught the SDK.

Fixed

  • PR#16 fixed regions to use kebab-case instead of snake_case, and add the st-pete region, which is apparently a voice region that can be used, but isn't listed in /voice/regions.

Release 0.1.2

11 Aug 19:49
Compare
Choose a tag to compare

Fixed

  • PR#14 fixed an issue where the RELATIONSHIP_UPDATE event actually uses stringized timestamps in the activity information, rather than the normal i64 timestamps in eg SET_ACTIVITY.
  • PR#14 fixed an issue with timestamps being converted into chrono::DateTime<Utc> with the wrong unit, resulting in date times far in the future.
  • PR#14 added more sanitization to crate::activity::ActivityBuilder to prevent strings with just whitespace being sent to Discord as that results in API failures.

Release 0.1.1

28 Jul 14:58
Compare
Choose a tag to compare

Added

  • PR#10 added ActivityBuilder::start_timestamp and ActivityBuilder::end_timestamp as well as implementing IntoTimestamp for i64. Thanks @Ewpratten!

Release 0.1.0

21 Jul 09:08
2af8089
Compare
Choose a tag to compare

Added

Release 0.0.1

21 Jul 08:28
1136247
Compare
Choose a tag to compare

Added

  • Initial crate squat