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
Josh
9830e0ed8a
Fix issues with VoiceProtocol docstrsings.
5 years ago
Rapptz
e3922e24d9
Correct some protocol errors in v4 of voice gateway
5 years ago
Rapptz
0b93fa3a82
Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
5 years ago
Rapptz
250f29989b
Be defensive in case Discord breaks something with WS URLs again
5 years ago
Rapptz
a9824ffabf
Fix endpoint strings with :443 instead of :80
Fix #5191
Close #5188
5 years ago
Tsumiki
5cbbbca193
Add versionadded to VoiceClient latency and average_latency
5 years ago
Jeffrey
4078d64520
Fix reconnecting loop due to failed handshake on region change
5 years ago
매리
ddfed5a610
Change _handshaking variable when handshake terminate
5 years ago
Fwf
fa34d357a1
Added VoiceClient.latency and VoiceClient.average_latency
This also implements the heartbeating a bit more consistent to the
official Discord client.
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Matt Carey
bcbfc354cf
Add support for xsalsa20_poly1305_lite
5 years ago