Build 2.0.2
** Discord Extension 2.0.2 Patch Notes**
-
Fixes
- Fixed outdated DiscordLink example in plugin example docs
- Fixed DiscordColor creating the wrong color due to incorrect bit shifting
- Fixed bug with DiscordCommands & DiscordSubscriptions running multiple times if multiple bots were used
- Fixed SocketClose code parsing not working correctly and not displaying the correct close reason.
- Fixed error in DiscordColorConverter for nullable DiscordColor types
-
Added
- Added more color options to DiscordEmbedBuilder- Added timestamp options to DiscordEmbedBuilder
- Added Version Field to ApplicationCommand
- Added DiscordColor byte constructor
- Added HasArg check for IntegrationDataParsed Args
- Added new permission StartEmbeddedActivities - Allows for launching activities (applications with the
EMBEDDED
flag) in a voice channel - Added ChannelTypes list to CommandOption
-
Removed
- Removed EnumTryParse method as no longer needed.
- Removed Deprecated Guild.Region field
-
Changes
- Changed DiscordHooks -> DiscordExtHooks due to plugin name conflict / issues. DiscordHooks still exists and is marked obsolete.
- Changed ApplicationCommandBuilder to remove usages.
- Changed ApplicationId as nullable in DiscordMessage
- Improved GuildMember.DisplayName
- Changed DiscordSubscriptions to be more performant during Discord Message Create
- Exposed Request.UrlBase & Request.ApiVersion as public so plugins can also use it.
- Default CommandGroup and SubCommand in IntegrationDataParsed as empty strings