Skip to content
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

fix!: Correct gateway command and subcommand dispatching #559

Merged
merged 11 commits into from Feb 24, 2022
Merged

fix!: Correct gateway command and subcommand dispatching #559

merged 11 commits into from Feb 24, 2022

Conversation

EdVraz
Copy link
Contributor

@EdVraz EdVraz commented Feb 22, 2022

About

This pull requests corrects the returned objects in the command dispatch, adds _client to them and sets the kwargs for sub_command and sub_command_groups correctly

Checklist

@EdVraz EdVraz added bug Something isn't working breaking This contains breaking changes priority This Issue/PR must be resolved first before accepting any others labels Feb 22, 2022
@EdVraz EdVraz requested a review from FayeDel February 22, 2022 17:57
@EdVraz EdVraz linked an issue Feb 22, 2022 that may be closed by this pull request
@EdVraz EdVraz enabled auto-merge (squash) February 22, 2022 22:54
@EdVraz EdVraz added the pending Pending approve label Feb 22, 2022
@EdVraz EdVraz merged commit fd0b535 into interactions-py:unstable Feb 24, 2022
i0bs added a commit that referenced this pull request Feb 25, 2022
* fix!: correct kwarg dictionary when dispatching a command

* undo changes in dispatch

* fix!: argument conversion for non-sub-commands

* fix!: sub-command keyerror

* fix!: _client for attributes and sub_command(_group) convertion

* Update headers

* Update gateway.py

* fix!: add _client to slots

* style: rename dunder

Co-authored-by: fl0w <41456914+goverfl0w@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This contains breaking changes bug Something isn't working pending Pending approve priority This Issue/PR must be resolved first before accepting any others
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

[BUG] command dispatching in the gateway is not functioning properly
3 participants