Commit 1d5a99f
authored
feat: add in hybrid slash commands (#1399)
* feat: add in hybrid slash commands
Still relatively untested. Needs a lot of polish.
* feat: simulate specific slash restrains
* fix: oops, scope is weird
* fix: handle no options correctly
* feat: add use_slash_command_msg argument
* docs: add docs for hybrid command manager
* docs: add snippet for hybrid cmds in guide
* docs: finialize docs for hybrid commands
* fix: properly set x_id properties
* docs: adjust title of hybrid command section
* fix: handle dummy base command functions
* fix: parse subcommands correctly
* feat: add silence_autocomplete_errors
* fix: make options not keyword-only
This threw the prefixed command parser in for a loop.
* fix: use more logic to determine right kind of kind
* fix: properly handle keyword only
* feat: add support for aliases
* fix: add aliases to base commands too
* refactor: black learns how to not be dumb
* feat: remove hybrid command dm app permission handling
This wasn't matching slash command behavior
---------
Co-authored-by: Astrea49 <25420078+Astrea49@users.noreply.github.com>1 parent 60edb6f commit 1d5a99f
File tree
10 files changed
+1183
-0
lines changed- docs/src
- API Reference/API Reference/ext
- hybrid_commands
- Guides
- interactions/ext/hybrid_commands
10 files changed
+1183
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments