Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify required config for member cache #642

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/nostrum/cache/member_cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ defmodule Nostrum.Cache.MemberCache do
The user-facing functions of this module can be called with a custom cache as
the final argument. This is mainly useful if you want to test the cache: by
default, nostrum will use #{@default_cache_implementation}.

In order to use this cache, you must enable the `:guild_members` intent, and you must also enable the `request_guild_members: true` configuration option.
"""
@moduledoc since: "0.7.0"

Expand Down