You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 8.6 kB

4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. # Changelog
  2. ## [3.1.7] - 10/20/2021
  3. ### Added
  4. - Added `Icon` property when modifying roles.
  5. - Added `GuildAvatar` and `GetGuildAvatarUrl` to `IGuildUser`.
  6. ### Fixed
  7. - Fixed `InvalidOperationException` in modify guild channel.
  8. ### Misc
  9. - Revert received at time, confirmed by discord staff to be accurate
  10. ## [3.1.4 - 3.1.6] - 10/12/2021
  11. ### Added
  12. - Added check for duplicate responses to interactions.
  13. - Added check for 3 second timeout to interactions.
  14. ### Fixes
  15. - Fixed assignment of `UserMentions`
  16. - Fixed `CleanContent` not being correct
  17. - Fixed SocketSlashCommandData access modifier
  18. - Fixed url validation for embed urls
  19. ## [3.1.2 + 3.1.3] - 10/12/2021
  20. ### Added
  21. - Added .NET 5 build.
  22. - Added `Ephemeral` property to `Attachment`.
  23. - Added `ChannelTypes` to `ApplicationCommandOption` and builders.
  24. - Added event for `SocketAutocompleteInteraction` called `AutocompleteExecuted`.
  25. - Added `CleanContent` to `IMessage` and implemented entities.
  26. - Added support for `discord://` protocol on buttons.
  27. - Added `Competing` status type.
  28. - Added `Icon` and `GetIconUrl` to roles.
  29. - Added `Interaction` to `IMessage` and implemented entities.
  30. - Added `ContextMenuCommand` message type.
  31. - Added stage instance audit logs as well as thread audit log type.
  32. - Added restriction for description not being null in `SlashCommandBuilder`.
  33. ### Fixes
  34. - Fixed channel name ratelimits being ignored + any other property specific ratelimits.
  35. - Fix different rest channels not deserializing properly.
  36. - Fix NRE in modify guild channel.
  37. - Fixed system messages not including mentioned users.
  38. - Fixed sub commands being interpreted as a parameter for autocomplete.
  39. - Fixed `Type` not being set in `SocketApplicationCommand`.
  40. ### Misc
  41. - Simplified `FollowupWithFileAsync` to just take a file path.
  42. - Renamed `Default` and Required to `IsDefault` and `IsRequired` in `IApplicationCommandOption`.
  43. - Renamed `DefaultPermission` to `IsDefaultPermission` in `IApplicationCommand`.
  44. - Refactored some summaries
  45. - Renamed `Available` to `IsAvailable` in stickers.
  46. - Removed file extension check.
  47. - Remove null collections in favor for empty collections.
  48. ## [3.1.1] - 9/23/2021
  49. ### Added
  50. - Added `SocketAutocompleteInteraction`
  51. - Added `IsAutocomplete` to slash command builders
  52. ## [3.1.0] - 9/21/2021
  53. ### Added
  54. - Added warning for duplicate select menu values.
  55. - Added `DisconnectAsync` and `MoveAsync` to `IGuild` and its children (`RestGuild`/`SocketGuild`).
  56. - Added `CreateStageChannelAsync` to `IGuild` and its children (`RestGuild`/`SocketGuild`).
  57. - Added `ISticker[]` as a parameter to `SendMessageAsync` and `ReplyAsync`.
  58. ### Fixes
  59. - Fixed ratelimit sorcery and witchcraft.
  60. ### Misc
  61. - Renamed `SelectMenu` to `SelectMenuComponent`.
  62. - Removed obsolete `AcknowledgeAsync` method from interactions in favor for `DeferAsync`.
  63. ## [3.0.2] - 9/13/2021
  64. ### Added
  65. - Added `Hierarchy` to `RestGuildUser` and `IGuildUser`
  66. - Added github sponsors!
  67. - Added implicit conversion from string to emoji and emote, allowing you to just pass in unicode into any emoji/emote func
  68. - Added `ToBuilder` functions to `ButtonComponent` and `SelectMenu`
  69. - Added `FollowupWithFileAsync` to interactions.
  70. ### Fixes
  71. - Fixed `auto_archive_duration` within thread models
  72. - Fixed `ModifyGuildCommandPermissionsAsync` not allowing 0 args
  73. - Fixed `MofifyXYZCommand` using abstracts in activators (big no no)
  74. - Fixed specifying null for components within a modify context not removing the components within the message.
  75. ## [3.0.1] - 8/25/2021
  76. ### Added
  77. - Added a method in `ComponentBuilder` to create a builder from a message
  78. ### Fixes
  79. - Fixed default stickers not being set correctly
  80. - Fixed NRE with application command routes
  81. - Fixed KeyNotFoundException on Message Create
  82. - Fixed RestUserMessage not being used for some message types
  83. - Fixed NRE on default stickers
  84. - Fixed Stickers being empty on messages
  85. - Fixed `SocketUnknownSticker.ResolveAsync` throwing NRE
  86. ## [3.0.0] - 8/5/2021
  87. ### Added
  88. - Added stage support.
  89. - Added multi embed support for normal messages and refactored methods for interaction with embeds.
  90. - Added check for proper urls in embeds and buttons.
  91. - Added thread support.
  92. - Added `NsfwLevel` property to guilds.
  93. - Added missing message types: GuildDiscoveryDisqualified, GuildDiscoveryRequalified, GuildDiscoveryGracePeriodInitialWarning, GuildDiscoveryGracePeriodFinalWarning, ThreadCreated, ThreadStarterMessage, and GuildInviteReminder.
  94. - Added `NUMBER` application command option type.
  95. - Added missing audit log types: IntegrationCreated,IntegrationUpdated, IntegrationDeleted, StageInstanceCreated, StageInstanceUpdated, StageInstanceDeleted, StickerCreated, StickerUpdated, and StickerUpdated.
  96. ### Fixes
  97. - Fixed respond async fallback not taking in components.
  98. - Fixed Emoji UnicodeAndNames throwing exception because of duplicit keys.
  99. - Fixed `PermissionTarget` and `ApplicationCommandPermissionTarget` confusion and Invalid Form Body for modifying channel overwrites.
  100. ### Misc
  101. - Made custom id an optional parameter in buttons.
  102. - Refactored the component builders to be more flexible.
  103. - Changed `AcknowledgeAsync` to `DeferAsync` to avoid confusion.
  104. - Updated `MaxOptionsCount` and `MaxChoiceCount` to 25.
  105. ## [2.4.9] - 7/17/20201
  106. ### Fixes
  107. - The followup method that takes a single embed didnt return the RestFollupMessage
  108. ## [2.4.8] - 7/17/2021
  109. ### Added
  110. - Added `ApplicationCommandPermissionTarget` enum for slash command permissions, slash commands dont use `PermissionTarget` anymore.
  111. ### Fixed
  112. - Fixed `AddPermissionOverride` not working
  113. - Fixed invalid form body for responding with no embed
  114. ## [2.4.6] - 7/14/2021
  115. ### Added
  116. - Added the ability to send multiple embeds on interaction responses and also fixed a few bits of docs.
  117. ## [2.4.5] - 7/10/2021
  118. ### Added
  119. - Added `TimestampTag`
  120. - Added `DeleteAllGlobalCommandsAsync` to Rest client.
  121. - Added `DeleteSlashCommandsAsync` to SocketGuild and RestGuild, this **will** remove all the slash commands in the guild so be careful.
  122. ### Fixes
  123. - Fixed `GetOriginalResponseAsync` using wrong http method and route.
  124. ## [2.4.4] - 7/7/2021
  125. - Added comment and parsing for `Mentionable` application option type.
  126. - Added another `AddOption` method to SlashCommandOptionBuilder.
  127. ### Added
  128. ### Fixes
  129. - Fixed `GetCommandPermission()` throwing if no permissions are found, it will now return null.
  130. - Fixed SlashCommandBuilder incorrectly limiting SubCommands.
  131. - Fixed incorrect casing of .net types in SocketSlashCommandData.
  132. - Fixed ambiguous method in `SlashCommandBuilder` .
  133. - Fixed `WithAuthor` extension not using default avatars: https://github.com/discord-net/Discord.Net/pull/1890
  134. - Fixed Slash command routes not throwing a `ApplicationCommandException`
  135. - Fixed duplicate `GetOriginalResponse` method in `SocketSlashCommand`
  136. ## [2.4.3] - 7/6/20201
  137. ### Added
  138. - Added `GetSlashCommandsAsync` and `GetSlashCommandAsync` methods to `SocketGuild` and `RestGuild`
  139. - Added `GetGuild` method to `RestGuildCommand`
  140. - Added `GetCommandPermission` and `ModifyCommandPermissions` to `RestGuildCommand`
  141. - Added `BulkOverwriteGlobalCommands` and `BulkOverwriteGuildCommands` to the rest client, this allows you to make a whole bunch of slash commands in one request
  142. - Added `DefaultPermission` to IApplicationCommands.
  143. ### Fixed
  144. - Fixed bad parsing on SocketSlashCommand for channel resolved types.
  145. ## [2.4.1] - 7/3/20201
  146. ### Added
  147. - Added `SelectMenu` as a component type.
  148. - Added methods to build select menus in the `ComponentBuilder`.
  149. - Added a `Values` property to `SocketMessageComponentData`, this is how you see the selected option on a select menus interaction event.
  150. - Added resolved models to `SocketSlashCommandDataOption`, the `Value` field will now use the _strong_ type of the option type, ex a guild user option will now have the value of a `SocketGuildUser`
  151. - Changed the embed description length to 4096 (https://discord.com/developers/docs/resources/channel#embed-limits)
  152. - Streamlined the interaction data parsing, no more weird null exceptions in the `INTERACTION_CREATED` event
  153. - Changed `SocketInteraction.Data` to the `IDiscordInteractionData` type.
  154. - Merged DNET into interactions, we are now on api v9. This also includes all the bug fixes that dnet did.
  155. - Added the new channel permission flags (https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags)
  156. ### Fixes
  157. - Fixed the component builders checks for adding new components.
  158. ## [2.3.7 and older] - 5/29/2021
  159. ### Added
  160. - Added message component support
  161. - Added Interaction support
  162. - Added slash command support