Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

v5 - autocompletion

Compare
Choose a tag to compare
@kvsxxx kvsxxx released this 23 Sep 13:25
· 53 commits to main since this release

https://pypi.org/project/discord-ui/5.0.0

Fixed

  • Roles not being parsed correctly

Changed

  • default_permission

default_permission can now be of type discord.Permissions but the api doesn't support that yet. Documentation reference.

  • slash http

some code changes to slash-http features

Added

  • ChoiceGeneratorContext

Context class for choice generation

  • SlashOption

choice_generator keyword and autocomplete keyword.
autocomplete is not needed if you pass choice_generator

Note that the autocompletion is currently limited to desktop clients

  • File sending

You are now able to send hidden files

Note

Some of the features mentioned above are not finished in the api yet, so there can occur some issues