mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix incorrect callback typing for WebsocketHook
This commit is contained in:
1 parent
44284ae107
commit
9f8f9bf56b
1 file changed
+1
-1
@@ -68,7 +68,7 @@ if TYPE_CHECKING:
|
|||||||
SupportedModes,
|
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]
|
SocketReaderCallback = Callable[[bytes], Any]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user