This repository was archived by the owner on Feb 3, 2025. It is now read-only.
0.8.0
New Stuff
ApplicationCommandOptionType.MENTIONABLE
works effectively as a union ofUSER
andROLE
; the logic will attempt to resolveMENTIONABLE
IDs as users first, then as roles.ApplicationCommandOptionType.NUMBER
is thefloat
analog ofINTEGER
Breaking Changes
InteractionResponseType.Acknowledge
andInteractionResponseType.ChannelMessage
are now fully removed from the library.
Potentially Breaking Changes
MessageFlags
is renamed toCallbackFlags
following API docs renaming. The old name remains as an alias, but it will not be imported in afrom discord.ext.slash import *
context so code that uses both that import and the old name will fail with aNameError
.- All
MessageFlags
that were read-only are now gone inCallbackFlags
.CallbackFlags.EPHEMERAL
is currently the only enum of that type.
Changes
- Remaining
InteractionResponseType
enum names are now listed in API docs inCONSTANT_CASE
, so the enums gain these as aliases.