SEND = 1
RECV = 2


class OPCode:
    DISPATCH = 0
    HEARTBEAT = 1
    IDENTIFY = 2
    STATUS_UPDATE = 3
    VOICE_STATE_UPDATE = 4
    VOICE_SERVER_PING = 5
    RESUME = 6
    RECONNECT = 7
    REQUEST_GUILD_MEMBERS = 8
    INVALID_SESSION = 9
    HELLO = 10
    HEARTBEAT_ACK = 11
    CALL_CONNECT = 13
    GUILD_SUBSCRIPTIONS = 14
    LOBBY_CONNECT = 15
    LOBBY_DISCONNECT = 16
    LOBBY_VOICE_STATES_UPDATE = 17
    STREAM_CREATE = 18
    STREAM_DELETE = 19
    STREAM_WATCH = 20
    STREAM_PING = 21
    STREAM_SET_PAUSED = 22
    REQUEST_GUILD_APPLICATION_COMMANDS = 24
    EMBEDDED_ACTIVITY_LAUNCH = 25
    EMBEDDED_ACTIVITY_CLOSE = 26
    EMBEDDED_ACTIVITY_UPDATE = 27
    REQUEST_FORUM_UNREADS = 28
    REMOTE_COMMAND = 29
    GET_DELETED_ENTITY_IDS_NOT_MATCHING_HASH = 30
    REQUEST_SOUNDBOARD_SOUNDS = 31
    SPEED_TEST_CREATE = 32
    SPEED_TEST_DELETE = 33
    REQUEST_LAST_MESSAGES = 34
    SEARCH_RECENT_MEMBERS = 35
