+
Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

Releases: kordlib/kordx.commands

0.3.4

17 Sep 07:43

Choose a tag to compare

0.3.4

Fixes

  • Fixed an issue where SingleWordArgument based classes could complete on blank or empty strings.

0.3.3

09 Sep 18:43

Choose a tag to compare

0.3.3

Fixes

  • Whitelisted String arguments now properly display their accepted values in error messages.

0.3.2

06 Sep 15:46

Choose a tag to compare

0.3.2

Fixes

  • Fixed an issue where mapping failed results would reset the char index to zero, resulting in a Too Many Arguments
    error

0.3.1

02 Sep 12:19

Choose a tag to compare

0.3.1

Fixes

  • Fixed an issue where codeblocks would not consume then end block tags.
  • Fixed Kord's Discord error messages breaking on multi line input.
  • Fixed Kord's Discord error messages breaking on code block input.

0.3.0

02 Sep 09:17

Choose a tag to compare

0.3.0

Changes

  • Argument parsing changed from a word-based solution to a char-based one. This gives Arguments access to the
    previously omitted whitespace characters and allows the creation of Arguments who might not perfectly conform to
    words. The utility SingleWordArgument, FixedLengthArgument and VariableLengthArgument still exist for those
    who prefer a word-based solution.

Additions

  • Added Argument#flatten to flatten an Argument<Either<T,T>, CONTEXT> into a Argument<T, CONTEXT>.
  • Introduced a StateArgument that aims to facilitate char-based Argument parsers.
  • Added QuotedArgument which captures quoted Strings.
  • Added CodeBlockArgument which captures Markdown code blocks.

Removals

  • Arguments no longer provide an example field. They weren't used for anything currently will be reintroduced in
    a later version in a way that allows the separation of program logic and presentation.

Versions

  • Gradle 6.2.1 -> 6.6
  • Kotlin 1.3.71 -> 1.4.0
  • Kord 0.5.* -> 0.6.*
  • Koin 2.1.5 -> 2.1.6
  • kotlinx.coroutines 1.3.7 -> 1.3.9

0.2.1

05 Aug 14:10

Choose a tag to compare

0.2.1

Fixes

  • Fixed messages dropping out of the events flow buffer.

Changes

  • CommandProcessor will run commands in parallel.

0.2.0

26 Jun 08:30

Choose a tag to compare

0.2.0

Changes

  • Prefixes have been reworked considerably. #3

Additions

  • Added support for aliases
  • You can now handle exceptions using the ErrorHandler.

0.1.2

19 Jun 08:55
a15a822

Choose a tag to compare

#0.1.2

Fixes

  • Fixed an incorrect version range for Kord in kordx.commands.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载