From b4b953bfc66adc235e06774b0481ceb847753793 Mon Sep 17 00:00:00 2001 From: Sebastian Law <44045823+SebbyLaw@users.noreply.github.com> Date: Sun, 28 Jun 2020 00:45:58 -0700 Subject: Fix various inconsistencies within the documentation (#5067) --- discord/file.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'discord/file.py') 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`] -- cgit v1.2.3