Sebastian Law
aff31f9575
[docs] fix gateway payload hyperlinks
1 year ago
Imayhaveborkedit
3043a1f4e3
More voice fixes
* More voice fixes
* Start socket reader paused and wait for socket creation
* Fix issues handling 4014 closures
Fixes code not handling disconnects from discord's end properly. The
4014 code is shared between being disconnected and moved, so it has to
account for the uncertainty. Also properly stops the voice_client audio
player when disconnecting.
* Fix sending (dropped) silence packets when not connected
1 year ago
Mysty
a3907cf064
Add warning to VoiceProtocol.on_voice_state_update
1 year ago
Imayhaveborkedit
6d244db403
Fix bad voice state when moving to a voice channel without permissions
2 years ago
Imayhaveborkedit
2856853c16
Rewrite voice connection internals
2 years ago
Imayhaveborkedit
cccd6107b6
Add encoder params to VoiceClient.play
2 years ago
Imayhaveborkedit
cabca85dd9
Fix voice websocket not being closed before being replaced
2 years ago
dolfies
80f1881342
Fix pyright errors
5 months ago
dolfies
a7554ba7d4
Remove deprecated setting field
5 months ago
SpinnySpiwal
0cb301beae
Implement aead_xchacha20_poly1305_rtpsize voice encryption mode ( #764 )
5 months ago
dolfies
f6d8c66129
Fix voice state typing
1 year ago
dolfies
6227c3810f
Properly format voice logs
2 years ago
dolfies
5266b90383
Fix type issues
2 years ago
dolfies
29a9f5d018
Fix type issues
2 years ago
Jakub Kuczys
94fbdcb270
Change VoiceProtocol user callbacks to be pos-only
3 years ago
Rapptz
7a199fe567
Change a lot of logging INFO calls to be less verbose
Some of the logs were only useful for debug scenarios, so they have
been downgraded to DEBUG. Others were in INFO but supposed to be in
WARNING so those were upgraded.
3 years ago
mniip
08c9da6e89
Change View, Modal, and AudioPlayer to use logger instead of stderr
3 years ago
Rapptz
aaaba21f09
Fix versionadded docstrings in voice connect methods
3 years ago
Rapptz
41208f7391
Add a new extlink for discord documentation
3 years ago
Vaskel
2127d37a21
Add self_deaf and self_mute params to voice connect methods
3 years ago
dolfies
e64d0e71dd
Fix call handling
3 years ago
dolfies
cfe58eeb1f
Revert all voice receive changes
This won't be making its way into 2.0 and needs a ton of work. Now lint passes!
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
dolfies
957a484306
Run black
3 years ago
Rapptz
1192d842e1
Fix some type checker errors and remove some type ignores
Caught from an upgraded Pyright
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Han Seung Min - 한승민
93af158b0c
Refactor loop code to allow usage of asyncio.run
3 years ago
Rapptz
0c690bc949
Fix audio not sending
Fixes #7531
3 years ago
Josh
a315786869
Handle type-errors in upcoming pyright release
3 years ago
Rapptz
3e90664cf9
Fix signature for VoiceClient
3 years ago
Josh
c8064ba6f2
Type-hint gateway
3 years ago
Josh
70b577e94b
Fix typing in voice related files
3 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
3 years ago
dolfies
77a8ad30d2
Fix VC playing, remove extraneous properties, fix typing issues
3 years ago
dolfies
3e30060249
Fix voice playing
3 years ago
dolfies
9b2b32d2c3
Migrate voice redesign
4 years ago
Rapptz
ea2d972666
Make global log variable in modules private
4 years ago
Josh
f40f80c0dc
Fix typo in voice_client.py
4 years ago
scrazzz
3c5c5fc274
Update documentation in voice_client.py
4 years ago
Josh
5acea453cc
Type-hint voice_client / player
4 years ago
Nadir Chowdhury
757cfad38f
Type up **kwargs of various methods
4 years ago
Josh
3864fb37a0
Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Cryptex
8d74fad474
Update lavalink's repo url
4 years ago
Nadir Chowdhury
89456022cf
Add `__all__` to remaining modules
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
52865dfa99
Clear the connected flag when potentially reconnecting the player
Fix #5953
4 years ago
Rapptz
b76b5b42c0
Fix attribute error during rapid disconnects in VoiceClient.
Fix #6039
4 years ago
Rapptz
21ed9f61d2
Fix disconnect when trying to move to another voice channel.
Not overly proud of this implementation but this allows the library
to differentiate between a 4014 that means "move to another channel" or
"move nowhere". Sometimes the VOICE_STATE_UPDATE comes before the
actual websocket disconnect so special care had to be taken in that
case.
Fix #5904
5 years ago
Rapptz
9036b9651b
Properly handle disconnects in voice when force disconnected
5 years ago