diff --git a/lib/nostrum/cache/guild_cache/mnesia.ex b/lib/nostrum/cache/guild_cache/mnesia.ex index c60651094..e059f667d 100644 --- a/lib/nostrum/cache/guild_cache/mnesia.ex +++ b/lib/nostrum/cache/guild_cache/mnesia.ex @@ -58,7 +58,7 @@ if Code.ensure_loaded?(:mnesia) do end @impl GuildCache - @doc "get a guild from the cache." + @doc "Get a guild from the cache." @spec get(Guild.id()) :: {:ok, Guild.t()} | {:error, :not_found} def get(guild_id) do :mnesia.activity(:sync_transaction, fn -> diff --git a/lib/nostrum/cache/user_cache.ex b/lib/nostrum/cache/user_cache.ex index 62e3d1d79..25f2f9617 100644 --- a/lib/nostrum/cache/user_cache.ex +++ b/lib/nostrum/cache/user_cache.ex @@ -94,6 +94,8 @@ defmodule Nostrum.Cache.UserCache do @callback child_spec(term()) :: Supervisor.child_spec() @doc """ + Retrieve a user from the cache by ID. + ## Example ```elixir