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

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.

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

Returns the current user's state.