Skip to content

0.8.0

Compare
Choose a tag to compare
@Kenny2github Kenny2github released this 29 Jul 19:44

New Stuff

  • ApplicationCommandOptionType.MENTIONABLE works effectively as a union of USER and ROLE; the logic will attempt to resolve MENTIONABLE IDs as users first, then as roles.
  • ApplicationCommandOptionType.NUMBER is the float analog of INTEGER

Breaking Changes

  • InteractionResponseType.Acknowledge and InteractionResponseType.ChannelMessage are now fully removed from the library.

Potentially Breaking Changes

  • MessageFlags is renamed to CallbackFlags following API docs renaming. The old name remains as an alias, but it will not be imported in a from discord.ext.slash import * context so code that uses both that import and the old name will fail with a NameError.
  • All MessageFlags that were read-only are now gone in CallbackFlags. CallbackFlags.EPHEMERAL is currently the only enum of that type.

Changes

  • Remaining InteractionResponseType enum names are now listed in API docs in CONSTANT_CASE, so the enums gain these as aliases.