Skip to content

Releases: devoxin/Flight

Flight 1.2.0

24 Nov 23:30
3e73aa8
Compare
Choose a tag to compare

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

21 Oct 14:20
Compare
Choose a tag to compare

• Perform isFromGuild check before getting and storing guild from a MessageReceivedEvent.
• Fix missing .queue() on ctx.typing.

[Breaking Changes] Flight 1.1.0

20 Oct 21:00
Compare
Choose a tag to compare

• 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

14 Apr 12:33
Compare
Choose a tag to compare
  • 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

14 Apr 12:43
e0006ee
Compare
Choose a tag to compare

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

06 Apr 20:49
Compare
Choose a tag to compare

• 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

15 Oct 13:58
Compare
Choose a tag to compare
Flight 0.0.3.1 Pre-release
Pre-release

Jitpack seems to have broken 0.0.3?

Flight 0.0.3

15 Oct 13:40
Compare
Choose a tag to compare
Flight 0.0.3 Pre-release
Pre-release
  • NSFW command property
  • Guild only command property
  • Ability to set prefix provider

Flight 0.0.2

15 Oct 13:31
Compare
Choose a tag to compare
Flight 0.0.2 Pre-release
Pre-release
  • Add AsyncCommand to allow usage of suspend functions

Flight 0.0.1

15 Oct 13:18
Compare
Choose a tag to compare
Flight 0.0.1 Pre-release
Pre-release

This is still in beta phase so use at your own risk. Bug reports welcome.