Skip to content

Conversation

@EepyElvyra
Copy link
Contributor

@EepyElvyra EepyElvyra 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

@EepyElvyra EepyElvyra requested a review from FayeDel February 25, 2022 07:17
@EepyElvyra EepyElvyra 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
@EepyElvyra EepyElvyra linked an issue Feb 25, 2022 that may be closed by this pull request
1 task
@EepyElvyra EepyElvyra 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)

@EepyElvyra EepyElvyra 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

Development

Successfully merging this pull request may close these issues.

[BUG] Slash command with "Attachment" option type gives an error Subcommand not passing to command function [BUG]

3 participants