From 565daa0d7adf9337f5571fc2238f41008c440a0b Mon Sep 17 00:00:00 2001 From: blord0 Date: Fri, 17 Apr 2026 17:22:40 +0100 Subject: [PATCH] Change versionadded to 2.8 --- discord/file.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/file.py b/discord/file.py index f91a2f4b5..42dee7df9 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.7 + .. versionadded:: 2.8 duration: Optional[:class:`float`] The duration of the voice message in seconds - .. versionadded:: 2.7 + .. versionadded:: 2.8 waveform: Optional[List[:class:`int`]] The waveform data of the voice message @@ -105,7 +105,7 @@ class File: Accurate generation is only provided for the Opus format. Other formats will be provided with a random waveform - .. versionadded:: 2.7 + .. versionadded:: 2.8 """ __slots__ = (