Deprecations and Removals
MessageType.APPLICATION_COMMANDrenamed toMessageType.CHAT_INPUT(#775)- Removal of deprecated
hikari.impl.bot.BotAppandhikari.traits.BotAware- Use
hikari.impl.bot.GatewayBotandhikari.traits.GatewayBotAwarerespectively instead (#778)
- Use
Features
- Message components support (#684)
- Web dashboard example with
rillrate(#752) - Sticker methods to PartialGuild (#754)
- Sticker audit log event types (#756)
- Helpful Application object methods (#757)
- Missing audit log change keys (#759)
- Retry request on 500, 502, 503 and 504 errors
- Default retry count is 3, with a hard top of 5. This can be changed with the
max_retriesargument (#763)
- Default retry count is 3, with a hard top of 5. This can be changed with the
- New
is_for_emojimethods to relevant reaction events (#770) - Add
USE_EXTERNAL_STICKERSpermission (#774) - Add
MessageType.CONTEXT_MENU_COMMANDmessage type (#775) - Add
ApplicationCommand.version(#776)
Bugfixes
- Handling of interaction models passed to the webhook message endpoints as the "webhook" field (#759)
- Fix passing
embedsarguments increate_interaction_responseandedit_initial_responseendpoints- Fix deserialization of embeds in
create_interaction_response - Fix
TypeErrorsraised inedit_initial_responsewhen passing a list of embeds (#779)
- Fix deserialization of embeds in
- Improve typing for message objects and message update methods
- Fix the use of
typing.Optionalwhereundefined.UndefinedOrshould have been used - Remove trying to acquire guild_id from the cached channel on PartialMessage
- Instead, clearly document the issue Discord imposes by not sending the guild_id
is_webhookwill now returnundefined.UNDEFINEDif the information is not available- Fix logic in
is_humanto account for the changes in the typing - Set
PartialMessage.membertoundefined.UNDEFINEDwhen Discord edit the message to display an embed/attachment (#783)
- Fix the use of
CommandInteractionOption.valuewill now be cast to aSnowflakefor types 6-9 (#785)