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

Simple cache that stores information for the current user.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the current user's state.

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.