View Source Nostrum.Cache.Me (Nostrum v0.6.1)

Simple cache that stores information for the current user.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the current user's state.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

get() :: Nostrum.Struct.User.t() | nil

Returns the current user's state.