mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Fix incorrect callback typing for WebsocketHook
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user