Skip to content

Commit d0c6258

Browse files
Apply suggestions from code review
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: felix920506 <[email protected]>
1 parent 1b7b295 commit d0c6258

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ These changes are available on the `master` branch, but have not yet been releas
2727

2828
- Fix `Enum` options not setting the correct type when only one choice is available.
2929
([#2577](https://github.com/Pycord-Development/pycord/pull/2577))
30-
- Fix `codec` option for `FFmpegOpusAudio` class to make it in line with documentation.
30+
- Fixed `codec` option for `FFmpegOpusAudio` class to make it in line with documentation.
3131
([#2581](https://github.com/Pycord-Development/pycord/pull/2581))
3232

3333
### Changed

discord/player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def custom_probe(source, executable):
511511

512512
executable = kwargs.get("executable")
513513
codec, bitrate = await cls.probe(source, method=method, executable=executable)
514-
# only re-encode ir source isn't already opus, else directly copy source audio stream
514+
# only re-encode if the source isn't already opus, else directly copy the source audio stream
515515
codec = "copy" if codec in ("opus", "libopus") else "libopus"
516516
return cls(source, bitrate=bitrate, codec=codec, **kwargs) # type: ignore
517517

0 commit comments

Comments
 (0)