mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix incorrect callback typing for WebsocketHook
This commit is contained in:
parent
44284ae107
commit
9f8f9bf56b
@ -68,7 +68,7 @@ if TYPE_CHECKING:
|
||||
SupportedModes,
|
||||
)
|
||||
|
||||
WebsocketHook = Optional[Callable[['VoiceConnectionState', Dict[str, Any]], Coroutine[Any, Any, Any]]]
|
||||
WebsocketHook = Optional[Callable[[DiscordVoiceWebSocket, Dict[str, Any]], Coroutine[Any, Any, Any]]]
|
||||
SocketReaderCallback = Callable[[bytes], Any]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user