Packages

A purely Gleam Discord library built from the ground up with stratus.

Current section

Files

Jump to
glyph include glyph@internal@network@gateway_ActorState.hrl
Raw

include/glyph@internal@network@gateway_ActorState.hrl

-record(actor_state, {
self :: gleam@erlang@process:subject(glyph@internal@network@gateway:msg()),
bot_id :: binary(),
handlers :: glyph@models@discord:event_handler(),
session_cache :: carpenter@table:set(binary(), binary()),
received_hello :: boolean(),
heartbeat_in_ms :: integer(),
seq :: gleam@option:option(integer()),
invalid :: boolean()
}).