diff options
| author | Sebastian Law <[email protected]> | 2020-06-28 00:45:58 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-28 03:45:58 -0400 |
| commit | b4b953bfc66adc235e06774b0481ceb847753793 (patch) | |
| tree | 2d0cbd871944e3a5184b2dbec75dc59ddabad6d5 /discord/file.py | |
| parent | Fix a KeyError for channels with no category in Guild.by_category (diff) | |
| download | discord.py-b4b953bfc66adc235e06774b0481ceb847753793.tar.xz discord.py-b4b953bfc66adc235e06774b0481ceb847753793.zip | |
Fix various inconsistencies within the documentation (#5067)
Diffstat (limited to 'discord/file.py')
| -rw-r--r-- | discord/file.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/file.py b/discord/file.py index 3bf44047..ddee82cb 100644 --- a/discord/file.py +++ b/discord/file.py @@ -31,6 +31,11 @@ class File: """A parameter object used for :meth:`abc.Messageable.send` for sending file objects. + .. note:: + + File objects are single use and are not meant to be reused in + multiple :meth:`abc.Messageable.send`\s. + Attributes ----------- fp: Union[:class:`str`, :class:`io.BufferedIOBase`] |