Skip to content

Commit eb12458

Browse files
committed
Update Op.php
1 parent 5ff76fc commit eb12458

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
@@ -39,7 +39,9 @@ class Op
3939
/** Used for client handshake. */
4040
public const OP_IDENTIFY = 2;
4141
/** Used to update the client presence. */
42-
public const OP_PRESENCE_UPDATE = 3;
42+
public const OP_UPDATE_PRESENCE = 3;
43+
/** @deprecated 10.18.31 Use `OP_UPDATE_PRESENCE` */
44+
public const OP_PRESENCE_UPDATE = self::OP_UPDATE_PRESENCE;
4345
/** Used to join/move/leave voice channels. */
4446
public const OP_UPDATE_VOICE_STATE = 4;
4547
/** @deprecated 10.18.31 Use `OP_UPDATE_VOICE_STATE` */

0 commit comments

Comments
 (0)