Breaking changes
- DM Channel events do not have the
channelproperty anymore. This differs from the previous build where this would always be None due to the deprecation of DMChannelCreate events occurring on v8. - The former also means that a standard Channel event no longer has the
channelproperty, only achannel_id, as there is no guarantee we can have a given channel cached. Guild-related subclasses will still have this attribute. USE_VADpermission has been renamed toUSE_VOICE_ACTIVITYrole_idsnow includes the ID of the@everyonerole.User.default_avataris now calledUser.default_avatar_urlto matchUser.avatar_url.UnicodeEmoji.from_*methods are now namedUnicodeEmoji.parse_*.UnicodeEmoji.from_emojiis now namedUnicodeEmoji.parsewithout the_emojisuffix.CustomEmojino longer has anappattribute, as it is now user-creatable. This attribute is still defined onKnownCustomEmojihowever, as this is API generated only.
New Features
- New JSON error codes are available to reference.
- Member
role_idsnow contain the@everyonerole (role with the same ID as the guild). Emojinow has aparsemethod which will parse theCustomEmojiorUnicodeEmojifrom the given string.UnicodeEmoji.parseimplemented.CustomEmoji.parseimplemented to parse snowflakes or valid emoji mentions.
Other changes
- Voice event documentation is now 50% less sarcastic than before about the broken voice endpoint attribute, as it has now been fixed to use the correct port.
- ...as a result, the port is now no longer hard-coded in Hikari.