Skip to content

Commit 5ff76fc

Browse files
committed
OP_UPDATE_VOICE_STATE => OP_VOICE_STATE_UPDATE
1 parent 48d4eb4 commit 5ff76fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Discord/WebSockets/Op.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ class Op
4141
/** Used to update the client presence. */
4242
public const OP_PRESENCE_UPDATE = 3;
4343
/** Used to join/move/leave voice channels. */
44-
public const OP_VOICE_STATE_UPDATE = 4;
44+
public const OP_UPDATE_VOICE_STATE = 4;
45+
/** @deprecated 10.18.31 Use `OP_UPDATE_VOICE_STATE` */
46+
public const OP_VOICE_STATE_UPDATE = self::OP_UPDATE_VOICE_STATE;
4547
/** Used for voice ping checking. */
4648
public const OP_VOICE_SERVER_PING = 5;
4749
/** Used to resume a closed connection. */

0 commit comments

Comments
 (0)