From 45945b6909b98bc758162237a27f080218c0d251 Mon Sep 17 00:00:00 2001 From: blord0 <68508813+blord0@users.noreply.github.com> Date: Tue, 19 Aug 2025 12:10:39 +0100 Subject: [PATCH] Incriment versionadded to 2.7 --- discord/file.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/file.py b/discord/file.py index ed1006054..1e2e3c679 100644 --- a/discord/file.py +++ b/discord/file.py @@ -90,12 +90,12 @@ class File: A *non-exhaustive* list of supported formats are: `ogg`, `mp3`, `wav`, `aac`, and `flac`. - .. versionadded:: 2.6 + .. versionadded:: 2.7 duration: Optional[:class:`float`] The duration of the voice message in seconds - .. versionadded:: 2.6 + .. versionadded:: 2.7 """ __slots__ = ( @@ -186,7 +186,7 @@ class File: Only supports generating the waveform for Opus format files, other files will be given a random waveform - .. versionadded:: 2.6""" + .. versionadded:: 2.7""" if self._waveform is None: try: self._waveform = self.generate_waveform()