diff options
| author | Rapptz <[email protected]> | 2021-08-23 22:07:29 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-08-23 23:44:20 -0400 |
| commit | 8bbb8f6db969ba1525083e6d9d8a36d852d6fa81 (patch) | |
| tree | a0fd580391ea140387bad694e02abd4115ff2c9f /docs/_static/codeblocks.css | |
| parent | Fix message.py typehints (diff) | |
| download | discord.py-8bbb8f6db969ba1525083e6d9d8a36d852d6fa81.tar.xz discord.py-8bbb8f6db969ba1525083e6d9d8a36d852d6fa81.zip | |
Use getattr for default_auto_archive_duration in Message.create_thread
Some channel types do not have this attribute so a fallback is
necessary to prevent the attribute access from erroring.
Diffstat (limited to 'docs/_static/codeblocks.css')
0 files changed, 0 insertions, 0 deletions