Skip to content

Commit

Permalink
Release 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything committed Apr 10, 2022
1 parent 56600f4 commit defaf78
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 4.1.0
__New features__:
- Support for autocompletion has been added. See `Converter.autocompleteCallback` and the `@Autocomplete(...)` annotation for more.
- Added the ability to allow only slash commands or disable them entirely. See `CommandType.def` and `CommandOptions.defaultCommandType` for more.
- Added `ChatCommand.argumentTypes`, which allows developers to access the argument types for a chat command callback.
- Added `Converter.processOptionCallback`, which allows developers to modify the builder generated for a command argument.
- Added `IntConverter`, `DoubleConverter` and `NumConverter` for converting numbers with custom bounds. These new classes allow you to specify a minimum and maximum value for an argument when used with `@UseConverter(...)`.
- Added `GUildChannelConverter` for converting more specific types of guild channels.

__Bug fixes__:
- Fixed an issue with `IContext.getButtonPress` not behaving correectly when `authorOnly` or `timeout` was specified.
- Fixed the default converters for guild channels accepting all channels in the Discord UI even if they were not the correct type.

__Miscellaneous__:
- Updated the command name validation regex.
- Bump `nyxx_interactions` to 4.1.0.

## 4.0.0
__Breaking changes__:
- `nyxx_interactions` has been upgraded to 4.0.0.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: nyxx_commands
version: 4.0.0
version: 4.1.0
description: A framework for easily creating slash commands and text commands for Discord using the nyxx library.

homepage: https://github.com/nyxx-discord/nyxx_commands/blob/main/README.md
Expand Down

0 comments on commit defaf78

Please sign in to comment.