Rework File.spoiler to synchronise with the filename

Co-authored-by: Danny <Rapptz@users.noreply.github.com>
This commit is contained in:
Josh
2022-03-31 23:18:36 +10:00
committed by GitHub
parent 705c79df59
commit c11363f037
3 changed files with 163 additions and 15 deletions

View File

@ -1171,6 +1171,9 @@ The following changes have been made:
- :meth:`Permissions.stage_moderator` now includes the :attr:`Permissions.manage_channels` permission and the :attr:`Permissions.request_to_speak` permission is no longer included.
- :attr:`File.filename` will no longer be ``None``, in situations where previously this was the case the filename is set to `'untitled'`.
.. _migrating_2_0_commands:
Command Extension Changes