Soundboard.Discord.Handler.State (soundboard v1.7.0)

Handles the state of the Discord handler.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_state(user_id)

init(_)

Callback implementation for GenServer.init/1.

start_link(_)

update_state(user_id, channel_id, session_id)