Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix!: prevent
NoneType
error during sub command checks and add kw…
…arg for sub_commands without options (#568) * fix!: make context not required * fix!: remove requirement of reason in helper methods * Update gateway.py * Update client.py * fix!: remove requirement of reason in helper methods * fix!: add _client to Attachement class
- Loading branch information
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -105,6 +105,7 @@ class Attachment(DictSerializerMixin): | |
""" | ||
|
||
__slots__ = ( | ||
"_client", | ||
"_json", | ||
"id", | ||
"filename", | ||
|
This file contains 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