-
Notifications
You must be signed in to change notification settings - Fork 185
feat: merge enhanced #895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: merge enhanced #895
Changes from 61 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
5794b2f
feat: new Command object
Toricane 7b70df0
fix: import error
Toricane 4eef731
feat: option decorator
Toricane b074c48
fix: attempt to fix circular import
Toricane 4678cd8
fix: circular import
Toricane 1c0cf11
refactor: replace errors with LibraryException
Toricane 448d552
refactor: few small refactors
Toricane 5c5ecf3
refactor: test
Toricane 98c21a4
feat: implement Command obj in decorators
Toricane 45e6913
feat: working subcommand system
Toricane ce7edf3
feat: more customizable subcommand system
Toricane d12883b
feat: working Command system in Extensions
Toricane 4c06e6c
refactor: add a TODO
Toricane eb8c379
refactor: tidy up the code, improve coro calling
Toricane 26de2fd
refactor: rename Command.base to Command.name
Toricane d243756
feat: better group behavior
Toricane 8533cf5
Merge branch 'unstable' into unstable
Toricane b5ab857
refactor: replace a few more base= with name=, tidy up code
Toricane e476f84
refactor: remove client field from Command and properly teardown comm…
Toricane 7db851e
refactor: different method of looping
Toricane 08eaf87
feat: implement default_scope functionality
Toricane 62c8fa7
refactor: remove options param from Command.group()
Toricane 0b39f85
refactor: make autocomplete work, change typehints, make user and mes…
Toricane 7f41eba
feat: implement autodefer and spread_to_rows
Toricane ec3287f
fix: commands and autocomplete with self not passed when inside Exten…
Toricane e2ac9b7
style: add typehints
Toricane 009a936
refactor: tweak default scope setting
Toricane b277ecc
docs: some docstrings filled in
Toricane c31925d
docs: more docstrings, organization of code
Toricane 9e131b9
refactor: move resolving commands outside of __sync
Toricane 446526e
refactor: change __all__ from list to tuple
Toricane 180a791
fix: subcommands error with variables
Toricane 682dec0
fix: incorrect error
Toricane dc693bd
docs: utils.py docstrings
Toricane ba585c4
feat: new way of creating an ActionRow (pun intended)
Toricane 1b4f58f
Merge branch 'unstable' into unstable
Toricane 29b6239
refactor: make option decorator better
Toricane 2ae9c3e
refactor: change Command.self to Command.extension
Toricane 6a7dce0
docs: fix incorrect typehint
Toricane 83c560f
docs: modify docstring
Toricane 0401317
docs: new docs page
Toricane bb5410f
docs: add doc file
Toricane dfa4ac1
docs: move line
Toricane e12906d
docs: modify docstring of spread_to_rows
Toricane 3932438
refactor: rename variables
Toricane e393742
feat: implement Command.error decorator
Toricane a8da923
fix: typehint
Toricane a7cdb3b
docs: attempt to fix parameters of Client docstring
Toricane 52e1369
ci: correct from checks.
pre-commit-ci[bot] a792fe7
docs: fix docstring
Toricane 30a753a
style: delete a blank line
Toricane 8fa993d
chore: merge branch 'unstable' of https://github.com/Toricane/library…
Toricane cab01f9
docs: update quickstart
Toricane 922eb32
ci: correct from checks.
pre-commit-ci[bot] 7269e98
docs: modify quickstart
Toricane a303271
Merge branch 'unstable' of https://github.com/Toricane/library into u…
Toricane 186941a
docs: document new features
Toricane 303bab8
docs: testing
Toricane e837510
docs: testing
Toricane 35e9c12
docs: make it look good
Toricane 90c9583
docs: fix formatting
Toricane 103a287
docs: add migration docs
Toricane a4a859e
Merge branch 'unstable' into unstable
Toricane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ Interaction Models | |
| models.command.rst | ||
| models.component.rst | ||
| models.misc.rst | ||
| models.utils.rst | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| .. currentmodule:: interactions | ||
|
|
||
| Utilities | ||
| ========================== | ||
|
|
||
| .. automodule:: interactions.client.models.utils | ||
| :members: | ||
| :noindex: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.