Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/subcommand-piece-preconditions.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/subcommands-older-framework-test.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/plugin-subcommands-advanced/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @wolfstar/plugin-subcommands-advanced

## 3.0.2

### Patch Changes

- [#282](https://github.com/wolfstar-project/plugins/pull/282) [`2ab65ae`](https://github.com/wolfstar-project/plugins/commit/2ab65ae7f48e79d6befa0f42fdac80f9b8825b3b) - A subcommand piece registered with `RegisterAsSubcommand` or `RegisterAsSubcommandGroup` now has its `preconditions` option run before its `chatInputRun`, after those of the parent. A denial emits `chatInputCommandDenied` and the subcommand does not run; before, the option was ignored and the subcommand ran for everybody. Needs `@wolfstar/http-framework` 6.3.0 or later; on an older framework the option does not exist and nothing changes.

## 3.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-subcommands-advanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wolfstar/plugin-subcommands-advanced",
"version": "3.0.1",
"version": "3.0.2",
"description": "Plugin for @wolfstar/http-framework to modularize slash subcommands into separate command classes",
"keywords": [
"discord",
Expand Down
Loading