Nostrum.Cache.Me (nostrum v0.11.0-dev)
View SourceSimple 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.