Alchemy.Cache.user

You're seeing just the function user, go back to Alchemy.Cache module for more information.

Specs

user() :: Alchemy.User.t()

Gets the user struct for this client from the cache.

Examples

Cogs.def hello do
  Cogs.say "hello, my name is #{Cache.user().name}"
end