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!: prevent NoneType error during sub command checks and add kwarg for sub_commands without options #568

Merged
merged 10 commits into from Feb 26, 2022

Conversation

EdVraz
Copy link
Contributor

@EdVraz EdVraz commented Feb 25, 2022

About

See https://discord.com/channels/789032594456576001/946655656092524584/946655661213749249

also fixes an error where sub_command would not be dispatched if it had no options

also adds _client to the Attachment object to prevent an AttributeError

Checklist

@EdVraz EdVraz requested a review from FayeDel February 25, 2022 07:17
@EdVraz EdVraz changed the title Fix!: prevent NoneType error during sub command checks Fix!: prevent NoneType error during sub command checks and add kwarg for sub_commands without options Feb 25, 2022
@EdVraz EdVraz linked an issue Feb 25, 2022 that may be closed by this pull request
1 task
@EdVraz EdVraz linked an issue Feb 25, 2022 that may be closed by this pull request
1 task
@V3ntus
Copy link
Contributor

V3ntus commented Feb 26, 2022

LGTM (tested against options bug)

@EdVraz EdVraz merged commit 66d1df5 into interactions-py:unstable Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
3 participants