Releases: Astrea-Stellarium-Labs/tansy
Releases · Astrea-Stellarium-Labs/tansy
v0.9.2
v0.9.1
Changes
- FIX: Properly set
channel_types
whenGuildText
is present. - FIX: Fix a couple of typehints.
- FIX: Fix URL for PyPI.
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Changes
- REFACTOR💥: Replace
TansySlashCommandParameter
with justSlashCommandParameter
from interactions.py. This removes a lot of overhead that no longer needs to exist.- Because of this, interactions.py 5.9.0 or greater is required.
- FEAT: Add class hybrid slash commands.
- CHORE: Minor updates to LICENSE and setup.py.
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Hybrid command support, woo!
Changes
- FEAT💥: Add in tansy hybrid commands, which (when used alongside the built-in hybrid extension) allow you to use the Tansy format for hybrid slash commands.
- This bumps the minimum version of interactions.py to 5.8.0.
- Class slash commands do not have a hybrid variant yet.
- FIX: Add
__version__
to__all__
, oops.
Full Changelog: v0.7.0...v0.8.0
v0.7.0
A very important bug fix, and one feature from v5 that I forgot about.
Changes
- FIX: Copy checks when inheriting. This prevents unexpected behavior related to checks.
- FEAT: If no name is given, assume the name based off the function.
Full Changelog: v0.6.1...v0.7.0
v0.6.1
Important bug fix for extension users.
Changes
- FIX: Properly parse extension functions and don't error out.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
The big NAFF to interactions.py update, alongside some goodies.
Changes
- CHORE💥: Upgrade to interactions.py v5, the successor of NAFF.
- FEAT: Add in class-based slash commands! See an example of them in the README.
- FEAT: Add in
@describe
, a la discord.py.
Full Changelog: v0.5.2...v0.6.0
v0.5.2
Bug fixes are fun.
Updates
- FIX: Allow functions with
*args, **kwargs
to work fine for the patched interaction commands.
Full Changelog: v0.5.1...v0.5.2
v0.5.1
...in my defense, it worked in editable mode.
Changes
- FIX: Properly import
tansy.install_naff_speedups()
.
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Time to show why tansy
was never marketed as just a better way of making slash commands.
Updates
- FEAT: Added speedups for NAFF itself. They can be installed/patched in via
tansy.install_naff_speedups()
- take a look at that function's docstring for more information. Currently, the speedups include speedups to embeds, interaction commands, and HTTP serialization. - FEAT: Tansy slash commands now allow passing in custom
inspect.Signature
s if you want to. - FIX: Pass kwargs into no parameter callbacks, basically allowing fields like
**kwargs
to be properly processed. - REFACTOR: Tansy slash's post inits have been split into multiple parts to clean out the code.
Full Changelog: v0.4.0...v0.5.0