Releases: devoxin/Flight
Flight 1.2.0
Additions:
• Loading commands from a .jar
• Unload commands by cog name
Fixes:
• Arg-parsing didn't consume arguments as it should.
Changes:
• Configuration of the DefaultHelpCommand is now a DSL. This should make it a little easier and cleaner to add more options in the future.
Flight 1.1.1
• Perform isFromGuild check before getting and storing guild from a MessageReceivedEvent.
• Fix missing .queue()
on ctx.typing.
[Breaking Changes] Flight 1.1.0
• Added showParameterTypes
option to .useDefaultHelpCommand
. This means you can render help messages with parameter types, such as !ban <m: Member> [reason: String]
• Empty arguments are now handled by Flight before being passed to JDA. This should mean that JDA can no longer hinder argument parsing when provided invalid arguments.
• split
function moved into TextSplitter
object.
• Bumped JDA dependency version out of beta.
• GlobalScope uses launch
instead of async
. Under the hood, this should make things a little more reliable.
• Refactored/cleaned up the internals.
Minor fix on parameter scraping
- Fixes issues with the log line displaying wrong information.
- Slight change to how param names are filtered to make it a little more robust.
Flight for Catnip
I cba to fill this in. Tl;dr everything support-jda-v4 has but for Catnip ig
big thankies for @Bowser65 for adding support for catnip
Numerous fixes & improvements
• Swapped out Guava for Reflections
as reflections offers the ability to get parameter names without the need for @Name
parameter annotations.
• Command arguments are now loaded once and stored, to prevent repeated parsing.
• Event waiter now supports timing out.
• Help command should now display @Bot
rather than <@id>
when using mention prefixes.
• SnowflakeParser has been fixed up to match both mentions and standard ids.
Flight 0.0.3.1
Jitpack seems to have broken 0.0.3?
Flight 0.0.3
- NSFW command property
- Guild only command property
- Ability to set prefix provider
Flight 0.0.2
- Add AsyncCommand to allow usage of
suspend
functions
Flight 0.0.1
This is still in beta phase so use at your own risk. Bug reports welcome.