Skip to content

Releases: ijsbol/httpcord

v0.3.2

31 May 17:46

Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2

Available on PyPi: https://pypi.org/project/httpcord/0.3.2/

v0.3.1

31 May 17:14
b15ad43

Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

Available on PyPi: https://pypi.org/project/httpcord/0.3.1/

v0.3.0

31 May 17:06
c85e79a

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.2...v0.3.0

Available on PyPi now https://pypi.org/project/httpcord/0.3.0/

v0.2.2

06 May 02:07

Choose a tag to compare

Version 0.2.2 introduces the following changes:

  • PUT requests are used rather than POST requests when registering app commands. This overwrites existing, dead, commands.
  • httpcord.locale.Locale has been introduced, allowing for @bot.command(option_localisations={}) which can be used to both localise and describe command parameters.
  • httpcord.locale can also be used to localise command names and descriptions using @bot.command(name_localisations=...) and @bot.command(description_localisations=...) respectively.

See examples/localiser.py for more information.

Available on PyPi now.
https://pypi.org/project/httpcord/0.2.2/

v0.2.1

05 May 23:32

Choose a tag to compare

Version 0.2.1 introduces the following features:

  • Using httpcord.types.String you can provide minimum and maximum lengths for strings.
  • Using httpcord.types.Integer & httpcord.types.Float you can provide minimum and maximum values for the int / float.
  • Even more type clarity throughout the library.
  • Using httpcord.types.File as a type hint you are now able to support file uploads with your commands.

String, Integer & Float should be done via a the typing.Annotation feature.
See examples/max-length-string.py, examples/int-and-float-bounding.py & examples/upload-file.py for further information.

Available on PyPi now.
https://pypi.org/project/httpcord/0.2.1/

Release v0.2.0

05 May 21:17

Choose a tag to compare

This release adds the following features:

  • Group (and sub group) command support.
  • Commands to be loaded from external files via bot.register_command.
  • Customisability on installation contexts (Command(integration_types=...)).
  • Customisability on allowed interaction contexts (Command(allowed_contexts=...)).
  • User & Message commands (Command(command_type=...).

This release also:

  • Improves overall library type-hint coverage.
  • Adds an isort config file (.cfg.isort).
  • Fixes a typo (Interaction.defered -> Interaction.deferred).
  • Hopefully fixes the dependancies being resolved on pypi.

Available on PyPi now: https://pypi.org/project/httpcord/0.2.0/
pip install --update httpcord