Skip to content

Build 2.1.0

Compare
Choose a tag to compare
@dassjosh dassjosh released this 05 Jan 18:55
· 43 commits to master since this release
2538510

** Discord Extension 2.1.0 Patch Notes**

  • Fixes

    • Improved Discord Config Loading / Error Handling
    • Some errors in the documentation
    • Incorrect JSONPropery for NsfwLevel (nsfw -> nsfw_level)
    • JSON error being thrown for valid DiscordColor type
    • REST plugin callbacks being called from the wrong thread
    • Websocket errors during message thread updates
  • Added

    • Guild Scheduled Events Entities / API's / Events
    • AutoComplete Slash Command Option
    • Min/Max Value for Slash Command Option
    • Input Component
    • Bot Token Validator that warns if we believe the token is not valid
    • New ActivityFlags PartyPrivacyFriends/PartyPrivacyVoiceChannel/Embedded
    • New ApplicationFlags GatewayMessageContent/GatewayMessageContentLimited]
    • Added MessageCreate Validation to ensure a valid message is being sent to discord. Helps with tracking plugins that create invalid discord messages
    • DiscordChannel.GetThreadMember API Call
    • GatewayIntents.GuildScheduledEvents Field
    • DiscordGuild.PremiumProgressBarEnabled Field
    • DiscordGuild.ModifyCurrentMember API Call
    • GuildMember.Avatar Field
    • GuildMember.CommunicationDisabledUntil Field
    • GuildMemberUpdate.CommunicationDisabledUntil Field
    • SystemChannelFlags SuppressGuildReminderNotifications/SuppressJoinNotificationReplies Values
    • InteractionResponseType Enum ApplicationCommandAutocompleteResult/Modal Values
    • InteractionType Enum ApplicationCommandAutocomplete/ModalSubmit Values
    • InputTextStyles Enum
    • MessageComponentType.InputText Value
    • MessageAttachment Description/ContentType/Ephemeral Fields
    • MessageCreate.AddAttachment Method
    • DiscordRole Fields Icon/UnicodeEmoji/RoleIcon
    • PermissionFlags CreatePublicThreads/SendMessagesInThreads/ModerateMembers Values
    • DiscordWebhook.GetWebhookMessage API Call
    • DiscordCdn.GetGuildMemberAvatar Method
    • DiscordCdn.GetRoleIcon Method
    • Websocket now has a rate limit handler
    • DispatchCode Enum GuildScheduledEventCreate/GuildScheduledEventUpdate/GuildScheduledEventDelete/GuildScheduledEventUserAdd/GuildScheduledEventUserRemove Values
  • Changes

    • ThreadCreate.AutoArchiveDuration is now nullable
    • DiscordGuild.ModifyCurrentUsersNick is now Obsolete
    • GuildFeatures Enum Updated to Match Discord Changes
    • DiscordInvite.GetInvite now supports InviteLookup argument
    • DiscordStickerPack.BannerAssetId is now nullable
    • UserFlags Enum Updated to match Discord Names. Old names are now marked obsolete
    • VoiceRegion.Vip marked Obsolete
    • Split Rest RateLimit Handler into a base class for both Rest/Websocket to use.
    • Initial Websocket heartbeat is sent after a random interval between 0 and heartbeat interval
    • Socket._socket is locked when making changes to it to prevent multiple from being created
    • SocketCloseCodes AuthenticationFailed/InvalidShard/ShardingRequired/InvalidApiVersion/InvalidIntents/DisallowedIntent will no longer cause the bot to loop with errors