From 1bf139358d6a999741041d7e5743e7d3a92ae200 Mon Sep 17 00:00:00 2001 From: Amber McQuilkin Date: Sun, 21 Dec 2025 20:51:38 -0800 Subject: [PATCH] Fixed docstrings for new parameters --- discord/player.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/player.py b/discord/player.py index 057a86b68..196e701a9 100644 --- a/discord/player.py +++ b/discord/player.py @@ -300,7 +300,7 @@ class FFmpegPCMAudio(FFmpegAudio): to the stdin of ffmpeg. Defaults to ``False``. stderr: Optional[:term:`py:file object`] A file-like object to pass to the Popen constructor. - env: Optional[:class:`Mapping[:class:`str`, :class:`str`]`] + env: Optional[Mapping[:class:`str`, :class:`str`]] A :class:`Mapping` that defines the environment variables for the Popen constructor. before_options: Optional[:class:`str`] Extra command line arguments to pass to ffmpeg before the ``-i`` flag. @@ -413,7 +413,7 @@ class FFmpegOpusAudio(FFmpegAudio): to the stdin of ffmpeg. Defaults to ``False``. stderr: Optional[:term:`py:file object`] A file-like object to pass to the Popen constructor. - env: Optional[:class:`Mapping[:class:`str`, :class:`str`]`] + env: Optional[Mapping[:class:`str`, :class:`str`]] A :class:`Mapping` that defines the environment variables for the Popen constructor. before_options: Optional[:class:`str`] Extra command line arguments to pass to ffmpeg before the ``-i`` flag.