Skip to content

v0.2.2

Choose a tag to compare

@ijsbol ijsbol released this 06 May 02:07
· 68 commits to main since this release

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/