From 12343c142262c675ca4b0483ad9bb099c9fac835 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 27 Jul 2019 23:17:06 -0400 Subject: Add versionadded tags to new ffmpeg related classes. --- discord/player.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'discord') diff --git a/discord/player.py b/discord/player.py index bf27b581..dbe06de8 100644 --- a/discord/player.py +++ b/discord/player.py @@ -117,6 +117,8 @@ class FFmpegAudio(AudioSource): User created AudioSources using FFmpeg differently from how :class:`FFmpegPCMAudio` and :class:`FFmpegOpusAudio` work should subclass this. + + .. versionadded:: 1.3.0 """ def __init__(self, source, *, executable='ffmpeg', args, **subprocess_kwargs): @@ -236,6 +238,8 @@ class FFmpegOpusAudio(FFmpegAudio): The same can be achieved by passing ``copy`` to the ``codec`` parameter, but only if you know that the input source is opus encoded beforehand. + .. versionadded:: 1.3.0 + .. warning:: You must have the ffmpeg or avconv executable in your path environment -- cgit v1.2.3