Components and stickers
Pre-release
Pre-release
Deprecations and Removals
MessageType.APPLICATION_COMMAND
renamed toMessageType.CHAT_INPUT
(#775)- Removal of deprecated
hikari.impl.bot.BotApp
andhikari.traits.BotAware
- Use
hikari.impl.bot.GatewayBot
andhikari.traits.GatewayBotAware
respectively 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_retries
argument (#763)
- Default retry count is 3, with a hard top of 5. This can be changed with the
- New
is_for_emoji
methods to relevant reaction events (#770) - Add
USE_EXTERNAL_STICKERS
permission (#774) - Add
MessageType.CONTEXT_MENU_COMMAND
message type (#775) - Add
ApplicationCommand.version
(#776)
Bugfixes
- Handling of interaction models passed to the webhook message endpoints as the "webhook" field (#759)
- Fix passing
embeds
arguments increate_interaction_response
andedit_initial_response
endpoints- Fix deserialization of embeds in
create_interaction_response
- Fix
TypeErrors
raised inedit_initial_response
when 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.Optional
whereundefined.UndefinedOr
should 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_webhook
will now returnundefined.UNDEFINED
if the information is not available- Fix logic in
is_human
to account for the changes in the typing - Set
PartialMessage.member
toundefined.UNDEFINED
when Discord edit the message to display an embed/attachment (#783)
- Fix the use of
CommandInteractionOption.value
will now be cast to aSnowflake
for types 6-9 (#785)